Install Apache/PHP/MySQL on Snow Leopard

Create /etc/php.ini and make it writable

cd /etc  sudo cp php.ini.default php.ini  sudo chmod 777 php.ini  

In php.ini, find this line:

;date.timezone =  

Uncomment it and insert your time zone (http://php.net/manual/en/timezones.php)

date.timezone =America/Vancouver  

Restore php.ini permissions

sudo chmod 444 php.ini  

Restart Apache

sudo apachectl restart  

As promised. Hot tip – you should probably avoid Entropy just for now (certainly – they will update it).

For whatever reason – I had a myriad of problems attempting to get it to work with Apache on my new 64 bit machine. Once we switched back to the original Apache PHP5 module, it seemed to work properly.

Posted via web from Andrew Colclough