Three saviour commands Start Apache sudo apachectl start Stop Apache sudo apachectl stop Restart Apache sudo apachectl restart Enable PHP Open terminal and edit /etc/apache2/httpd.conf sudo vi /etc/apache2/httpd.conf Go to line # LoadModule php5_module libexec/apache2/libphp5.so and remove # and save the file and restart the server. Document Root Document Root is the folder where PHP […]
