I've got a question regarding the location of php.ini
I recently installed PHP4 (from source) on a REDHAT LINUX 6.2 system and was having some problems getting PHP to work using <?phpinfo () ?> in a test file. I tried a few things and then remembered that the php3.ini file had been located in "/etc/httpd" by the original REDHAT installation RPM (I had uninstalled this rpm prior to attempting the 4.x install).
So I then copied the php.ini-dist file from the PHP source directory to "/etc/httpd/php.ini" ...and things started working. However, as a result of some tests, I have now removed the php.ini file and PHP still works?
I'm wondering where PHP is getting the information it usually gets from the php.ini file?
Thanks for any help.
Gord.