run php server on ubuntu
Update and Update Packages. ...
Install Apache2. ...
Install PHP. ...
Install MySQL. ...
Install phpMyAdmin. ...
Create a Database(Only if our PHP app needs a database to run) ...
Copy/paste or clone the project to the root directory of the Apache webserver. ...
Running the PHP file or project.