php.ini doesn't get loaded

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello,

I'm trying to compile PHP 5.2.3 on CentOS with the following configure:

'./configure' '--prefix=/usr/local/php' '--with-xml' '--enable-bcmath'
'--enable-calendar' '--with-curl' '--enable-ftp' '--with-gd'
'--with-jpeg-dir=/usr/local' '--with-png-dir=/usr'  
'--enable-magic-quotes' '--with-mysqli' '--with-mysql=/usr'
'--with-openssl' '--enable-discard-path' '--without-pear'
'--enable-sockets' '--enable-track-vars' '--with-ttf'
'--with-freetype-dir=/usr' '--enable-gd-native-ttf' '--with-zlib'
'--with-apxs2=/usr/sbin/apxs';

Everything is compiled and installed correctely. I can run php scripts
normally. But i need to change display_errors = on and install
eaccelerator. So i created a page with phpinfo() to find out where is
php.ini.

I got this

Configuration File (php.ini) Path 	/usr/local/php/lib
Loaded Configuration File 	(none)

It seens like php.ini is not being loaded. What can i do?

Thanks,

Fernando.

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux