Report this

What is the reason for this report?

How to make a website on ubuntu with php

Posted on June 12, 2016

So im trying to make a CSGO Gambling website following this tutorial. https://www.youtube.com/watch?v=kkseXI32jy4&list=PL2-vMEK3ncCzNudcbNR22jpYAymMT9ElW Whenever i enter - sudo nano /etc/apache2/mods-enabled/dir.conf It doesnt look the same as the guy in the tutorial. I follow everything he does but it never is the same. I tried destroying then making new droplets.

  • LOG INTO ROOT
  • CHANGE PASSWORD
  • sudo apt-get update
  • sudo apt-get install apache2
  • sudo apt-get install mysql-server php5-mysql
  • sudo mysql_install_db
  • sudo mysql_secure_installation
  • sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt I did all this before so i dont know why its not working

Im using ubuntu



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Take a read on this. It will teach you many of the fundamentals on how to build a server in order to run a website, whether it’s WordPress or not. There are many, many tutorials made by the community of DigitalOcean.

Also, you may want to take a look at the One-Click Apps tab when creating a droplet.

https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-in-ubuntu-16-04

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.