php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8750 /usr/local/lib/php.ini is ignored
Submitted: 2001-01-16 23:51 UTC Modified: 2001-01-19 10:00 UTC
From: ms at marcant dot net Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.4pl1 OS: Linux Redhat 7.0
Private report: No CVE-ID: None
 [2001-01-16 23:51 UTC] ms at marcant dot net
I have the following option in my php.ini:

magic_quotes_gpc off


However "php -i" shows it as "on".


Strace'ing the php binary shows that it
even reads the php.ini.

PHP is compiled as CGI 



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-19 09:46 UTC] avsm@php.net
Try entering 'magic_quotes_gpc = On' in your php.ini, instead of the string that you submitted in the bug report.
If that doesn't work, then more details are needed:

What ./configure arguments did you supply PHP?  Did you compile from source or install from binary RPM?
 [2001-01-19 10:00 UTC] ms at marcant dot net
Thanks for your help. it works now!

I think I will blame the documenation though.

There is this page about the php.ini: http://www.php.net/manual/en/configuration.php

It apparently lacks information about the correct
syntax of the ini file ??


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 21:01:31 2024 UTC