2013-12-12

Apache Web Server PHP - How to enable PHP in MacOS embedded apache web server


(1) Locate this file, and open it.
/private/etc/apache2/httpd.conf

(2) Look for this line and uncomment it (remove the starting # sign)
# LoadModule php5_module libexec/httpd/libphp5.so

(3) Restart the apache web server
sudo apachectl -k restart

No comments:

Post a Comment