http://www.php.net/manual/en/install.apache2.php
This is not quite right:
"13. Setup your php.ini
cp php.ini-dist /usr/local/lib/php.ini
You may edit your .ini file to set PHP options. If you prefer
having
php.ini in another location, use
--with-config-file-path=/some/path in
step 10.
If you instead choose php.ini-recommended, be certain to read the
list
of changes within, as they affect how PHP behaves."
The default location for php.ini is not /usr/local/lib.
The actual default location is (your php install dir)/lib. You have
to read the documentation as it's written, from the perspective of
someone who doesn't already know this. Read how it's written... I
did NOT do "--with-config-file-path=/some/path", so there for it
should be in /usr/local/lib, right?