I recently installed php4.3.4 on a RH9 machine with no realt trouble once I got the correct source. Following install and testing with no problems, I wanted to activate pgsql through the php.ini file. When I went looking for it, there was nothing to be found except in the src directories. A locate finds this:
locate php.ini
/usr/local/src/php-4.3.4/php.ini-dist
/usr/local/src/php-4.3.4/php.ini-recommended
/usr/local/src/php-4.3.4/pear/tests/php.ini
/usr/local/src/php4-STABLE-200403050030/pear/tests/php.ini
/usr/local/src/php4-STABLE-200403050030/php.ini-recommended
/usr/local/src/php4-STABLE-200403050030/php.ini-dist
Running phpinfo() shows the config directory in the expected usr/local/lib location. Another server running an older version of php has the php.ini file in the expected usr/local/lib location but the new install doesn't.
After some searching it seems that the php.ini file is not nceessarily required unless you want to alter it?? I was thinking of copying the recommended file from teh src directory and see if that does the trick.
Without the php.ini file, where is phpinfo pulling its information?
Any help is greatly appreciated.