[PHP] php not reading php.ini
Hi all, I have enable sybase magic quotes=on in php.ini, and with the test file in my phpinfo(); says configuration path /www/conf i have placed the file there, but the sybase magic quote=off!! am i suppose to change all files ie php.ini -dist php.ini -optimized aswell? pls help Caleb Carvalho Application Engineer LoadRunner/APM - Enterprise Testing and Performance Management Solutions - Mercury Interactive 410 Frimley Business Park Frimley, Surrey. GU16 7ST United Kingdom Telephone : +44 (0)1276 808300 _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] php not reading php.ini
On Wed, 3 Oct 2001 17:16, Caleb Carvalho wrote: Hi all, I have enable sybase magic quotes=on in php.ini, and with the test file in my phpinfo(); says configuration path /www/conf i have placed the file there, but the sybase magic quote=off!! am i suppose to change all files ie php.ini -dist php.ini -optimized aswell? pls help You did remember to restart apache to re-read the php.ini? (Assuming you are not using a cgi version of PHP) -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA DILATE: To live longer. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] php not reading php.ini
Unless you modified the default path to the configuration file when compiling, your Configuration Path setting should be set to something like this: /usr/local/lib/php.ini in this case, you say it is set to /www/conf. I'm assuming by this that it looking for a configuration file called 'conf' in the www directory. You might want to look this over, and possible recompile with the default setting. -Original Message- From: Caleb Carvalho [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 12:46 AM To: [EMAIL PROTECTED] Subject: [PHP] php not reading php.ini Hi all, I have enable sybase magic quotes=on in php.ini, and with the test file in my phpinfo(); says configuration path /www/conf i have placed the file there, but the sybase magic quote=off!! am i suppose to change all files ie php.ini -dist php.ini -optimized aswell? pls help Caleb Carvalho Application Engineer LoadRunner/APM - Enterprise Testing and Performance Management Solutions - Mercury Interactive 410 Frimley Business Park Frimley, Surrey. GU16 7ST United Kingdom Telephone : +44 (0)1276 808300 _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] php not reading php.ini
Hi, you're right, i did without knowledge enable --with -conf /www/conf when running the ./configure :(.. ok, thanks for point that out, do i need to go to square 0 i mean by running configure then make make install? thanks Caleb Carvalho Application Engineer LoadRunner/APM - Enterprise Testing and Performance Management Solutions - Mercury Interactive 410 Frimley Business Park Frimley, Surrey. GU16 7ST United Kingdom Telephone : +44 (0)1276 808300 From: Ralph Guzman [EMAIL PROTECTED] To: Caleb Carvalho [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: [PHP] php not reading php.ini Date: Wed, 03 Oct 2001 01:05:07 -0700 Unless you modified the default path to the configuration file when compiling, your Configuration Path setting should be set to something like this: /usr/local/lib/php.ini in this case, you say it is set to /www/conf. I'm assuming by this that it looking for a configuration file called 'conf' in the www directory. You might want to look this over, and possible recompile with the default setting. -Original Message- From: Caleb Carvalho [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 12:46 AM To: [EMAIL PROTECTED] Subject: [PHP] php not reading php.ini Hi all, I have enable sybase magic quotes=on in php.ini, and with the test file in my phpinfo(); says configuration path /www/conf i have placed the file there, but the sybase magic quote=off!! am i suppose to change all files ie php.ini -dist php.ini -optimized aswell? pls help Caleb Carvalho Application Engineer LoadRunner/APM - Enterprise Testing and Performance Management Solutions - Mercury Interactive 410 Frimley Business Park Frimley, Surrey. GU16 7ST United Kingdom Telephone : +44 (0)1276 808300 _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] php not reading php.ini
Hi, yeah i did httpd restart, and i also tried to place the file in /etc/httpd/conf /usr/local/lib /www/conf but not luck... I am using php-4.0.6, Caleb Carvalho Application Engineer LoadRunner/APM - Enterprise Testing and Performance Management Solutions - Mercury Interactive 410 Frimley Business Park Frimley, Surrey. GU16 7ST United Kingdom Telephone : +44 (0)1276 808300 From: David Robley [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Caleb Carvalho [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [PHP] php not reading php.ini Date: Wed, 3 Oct 2001 17:32:10 +0930 On Wed, 3 Oct 2001 17:16, Caleb Carvalho wrote: Hi all, I have enable sybase magic quotes=on in php.ini, and with the test file in my phpinfo(); says configuration path /www/conf i have placed the file there, but the sybase magic quote=off!! am i suppose to change all files ie php.ini -dist php.ini -optimized aswell? pls help You did remember to restart apache to re-read the php.ini? (Assuming you are not using a cgi version of PHP) -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA DILATE: To live longer. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] php not reading php.ini
Yes, it best if you just recompile PHP and let it set the path to it's default location, or specify a different location if you still desire: --with-conf /www/conf/php.ini good luck. -Original Message- From: Caleb Carvalho [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 1:35 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] php not reading php.ini Hi, you're right, i did without knowledge enable --with -conf /www/conf when running the ./configure :(.. ok, thanks for point that out, do i need to go to square 0 i mean by running configure then make make install? thanks Caleb Carvalho Application Engineer LoadRunner/APM - Enterprise Testing and Performance Management Solutions - Mercury Interactive 410 Frimley Business Park Frimley, Surrey. GU16 7ST United Kingdom Telephone : +44 (0)1276 808300 From: Ralph Guzman [EMAIL PROTECTED] To: Caleb Carvalho [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: [PHP] php not reading php.ini Date: Wed, 03 Oct 2001 01:05:07 -0700 Unless you modified the default path to the configuration file when compiling, your Configuration Path setting should be set to something like this: /usr/local/lib/php.ini in this case, you say it is set to /www/conf. I'm assuming by this that it looking for a configuration file called 'conf' in the www directory. You might want to look this over, and possible recompile with the default setting. -Original Message- From: Caleb Carvalho [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 12:46 AM To: [EMAIL PROTECTED] Subject: [PHP] php not reading php.ini Hi all, I have enable sybase magic quotes=on in php.ini, and with the test file in my phpinfo(); says configuration path /www/conf i have placed the file there, but the sybase magic quote=off!! am i suppose to change all files ie php.ini -dist php.ini -optimized aswell? pls help Caleb Carvalho Application Engineer LoadRunner/APM --- - - Enterprise Testing and Performance Management Solutions --- - - Mercury Interactive 410 Frimley Business Park Frimley, Surrey. GU16 7ST United Kingdom Telephone : +44 (0)1276 808300 _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]