Installing Apache + PHP
Add the main packages with the command:
Move to the directory where your site will resides:
Create an index.php file to test if everything is ok:
And add the following lines:
That done, let us start apache2 web server:
Now access: http://<ipa_ddress> and if everything is ok you will see the php info page.
Finally let us set up apache2 to start on operating system startup: