A few years ago I installed Apache 2.2x and PHP 5.3.1 on a Linux server I maintain. I used .tar.gz\'s and built them as instructed (instead of rpms and what-have-you). And
You can get more info about your config files using something like:
$ -> php -i | ack config # Use fgrep -i if you don't have ack
Configure Command => './configure' ...
Loaded Configuration File => /path/to/php.ini
Try one of this solution
In your terminal type find / -name "php.ini"
In your terminal type php -i | grep php.ini
. It should show the
file path as Configuration File (php.ini) Path => /etc
<?php
in a new line phpinfo();
This
will tell you the php.ini locationphp -a
in
the terminal and type phpinfo(); after php initiated.