Tuesday, July 22, 2014

Setup Apache & PHP for Apple OS X 10.9 Mavericks

Check installed version of Apache, open up Terminal and type

httpd -v

Start Apache, open up Terminal and type

sudo apachectl start

Stop Apache, open up Terminal and type

sudo apachectl stop

Enable PHP, open up Terminal and type

sudo vi /etc/apache2/httpd.conf

Uncomment LoadModule statement php5_module

LoadModule php5_module libexec/apache2/libphp5.so

Restart Apache, open up Terminal and Type

sudo apachectl restart


 

No comments: