Question

How to make a website on ubuntu with php

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

Subscribe
Share

Submit an 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