I compiled php 5.4 from source on my Centos 5.x system. Everything seemed to go okay. But when I look at my phpinfo() output my:
extension_dir = /usr/local/bin/php/lib/php/extensions/debug-non-zts-20100525
include_path = .:/usr/local/bin/php/lib/php
Configuration File (php.ini) Path = /usr/local/lib/php
Loaded Configuration File = /usr/local/lib/php.ini
But in my php.ini file has:
include_path = ".:/usr/local/lib:/usr/lib64/php"
extension_dir = "/usr/lib64/php/modules"
Where is the phpinfo() getting this information from?