1Update and Update Packages. ...
2Install Apache2. ...
3Install PHP. ...
4Install MySQL. ...
5Install phpMyAdmin. ...
6Create a Database(Only if our PHP app needs a database to run) ...
7Copy/paste or clone the project to the root directory of the Apache webserver. ...
8Running the PHP file or project.