Andrew Colclough

Web Design & Dev., Liberty, Economics, Football

Mac OSX Snow Leopard Tip - Launch Apps in 32-bit mode

Media_httpimagesanandtechcomreviewsmacmacbookpro2009roundup32bitsafarijpg_vuajiisrelcldbx

Apparently there are benefits. In Safari's case - bigger battery life.

ht: S. Sullivan

Filed under  //   32 bit mode   apps   mac   safari   snow leopard   tip  

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.

Filed under  //   MySql   PHP   Snow Leopard   apache   install   module