For installing PHP on Snow Leopard you have to follow these simple steps.
Start Apache
sudo apachectl start
In /etc/apache2/httpd.conf, uncomment this line:
Code:
LoadModule php5_module libexec/apache2/libphp5.so
Restart Apache
Fix a warning appearing in phpinfo()
Create /etc/php.ini and make it writable
Code:
cd /etc
sudo cp php.ini.default php.ini
sudo chmod 666 php.ini
In php.ini, find this line:
Uncomment it and insert your time zone
Code:
date.timezone =America/Vancouver
Restart Apache
Code:
sudo apachectl restart
Bookmarks