How to make a website on ubuntu with php

So im trying to make a CSGO Gambling website following this tutorial. 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.

  • 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

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.