Press "Enter" to skip to content

PHP on Mac OS X

PHP on Mac OS X is really not any different than running PHP on any other *nix based system.

Installers

  1. Entropy
  2. MAMP

Gotchas

Upgrading to PHP 5.3

#2000 - mysqlnd cannot connect to MySQL 4.1+ using old authentication

make sure you do the following BEFORE upgrading:

SET PASSWORD FOR ‘root’@’localhost’ = PASSWORD(‘rootpwd’);

in php.ini:

uncomment and set this line:

date.timezone=America/Chicago