Question

How to make a website on ubuntu with php

Posted June 12, 2016 5.8k views
MySQLLAMP Stack

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 mysqlinstalldb
  • sudo mysqlsecureinstallation
  • 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

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.

×
1 answer

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

by Justin Ellingwood
The LEMP software stack is a group of software that can be used to serve dynamic web pages and web applications. This is an acronym that describes a Linux operating system, with an Nginx web server. The backend data is stored in the MySQL database and the dynamic processing...
Submit an Answer