PHP will not read php.ini
Posted: Wed Feb 28, 2007 11:04 am
I have compiled PHP dozens of times, but never seen this.
Fedora core 6
Apache 2 (rpm)
PHP 5.2.1 (compiled from source)
I defined --with-config-file-path=/usr/local/lib
After install, moved a config file to that directory, named it php.ini, stopped and started Apache. Scripts run, but phpinfo()
reports php.ini not found, and displays only default settings.
I have changed ownership and permissions on php.ini, and recompiled with different configure parameters, but nothing works.
Has anyone seen this?
Fedora core 6
Apache 2 (rpm)
PHP 5.2.1 (compiled from source)
I defined --with-config-file-path=/usr/local/lib
After install, moved a config file to that directory, named it php.ini, stopped and started Apache. Scripts run, but phpinfo()
reports php.ini not found, and displays only default settings.
I have changed ownership and permissions on php.ini, and recompiled with different configure parameters, but nothing works.
Has anyone seen this?