I had done this already at work, but for some reason my MacBook Pro still didn’t “understand” PHP. Well, I’ve decided it’s time to activate it:
-
# Use your favorite editor
-
mate /etc/apache2/httpd.conf
-
# Uncomment the line:
-
#LoadModule php5_module libexec/apache2/libphp5.so
-
# Restart apache
-
sudo apachectl restart
Done.
