For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > July 2007 > php.ini doesn't get loaded









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author php.ini doesn't get loaded
php@fernandomarcelo.com

2007-07-06, 7:01 pm

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.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com