Mac OS X 10.7 Lion and PHP
Sep 3 2011
There are a one or two points to note about your PHP configuration before (or after) you upgrade from Snow Leopard to Lion.
Firstly, PHP has been upgraded from 5.2 to 5.3.
I also discovered that my php.ini in /etc/ had been moved to php.ini.default-5.2-previous. This can easily be reverted, however:
sudo cp php.ini-5.2-previous php.ini
One other thing to note, though, is that any extensions you may have had installed under /usr/lib/php/extensions/no-debug-non-zts-20090626/ will have been removed. If you do have any, they will need to be rebuilt.