transmission line noise

home

PHP 5.3 — Snow Leopard

28 Nov 2009

Tagged with Miscellaneous

Snow Leop­ard updated me to PHP 5.3 ok but it didn’t leave me with a work­ing php.ini. Just the php.ini.default.

The main upshot of this was bro­ken date and thus bro­ken header errors all over the shop. Rename the dea­f­ult to just php.ini (in /private/etc/ usu­ally) and got into it uncom­ment the date.timezone =  and set it to your time­zone. Will look some­thing like this

[Date]

; Defines the default time­zone used by the date functions

; http://​php​.net/​d​a​t​e​.​t​i​m​e​z​one

date.timezone = Europe/London

then remem­ber to restart the web server, go to sys­tem preference/sharing and uncheck and then check Web Sharing
comments powered by Disqus