My php.ini is right in /etc (as in /etc/php.ini), in both my Fedora and my CentOS installs. I wouldn't even expect to find it anywhere in /usr. Perhaps you need to configure apache to look for php.ini in the correct location?
Or, if you are on a shared host, you may not have access to php.ini so try this: http://www.bblog.com/forum/viewtopic.php?t=2689 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Paul Blondé Web Programmer enTel Communications Inc [EMAIL PROTECTED] 250.633.5151 866.633.2644 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, July 06, 2007 7:50 AM To: php-install@lists.php.net Subject: [PHP-INSTALL] php.ini doesn't get loaded 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.