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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ms at marcant dot net
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 17:02:17 2025 UTC