Archives › errors
If you find that php can’t access MySQL on your local dev environment after upgrading to Mac OS 10.6.6. It’s because it’s looking for the socket file in /var/mysql/mysql.sock, except that it’s not there. It’s in /temp/mysql.sock. I resolved the issue by using the following commands: $ sudo mkdir /var/mysql $ sudo ln -s /tmp/mysql.sock [...]
If you’re getting an error similar to the above after upgrading to php 5.3.0, pop open your php.ini file (perhaps in ‘/etc/php.ini’, or ‘/usr/local/php5/lib/php.ini’. Then uncomment the “date.timezone” line, and change it to date.timezone = “American/Denver” CORRECTION: should be: date.timezone = American/Denver. Note the lack of quotation marks. See this website for a complete list [...]