php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #4399 With no php3.ini, magic_quotes_gpc is 'Off'. With one, it's default is 'On'.
Submitted: 2000-05-11 11:43 UTC Modified: 2001-02-10 14:45 UTC
From: wilsonjb at library2 dot webster dot edu Assigned:
Status: Closed Package: Documentation problem
PHP Version: 3.0.15 OS: Red Hat Linux
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: wilsonjb at library2 dot webster dot edu
New email:
PHP Version: OS:

 

 [2000-05-11 11:43 UTC] wilsonjb at library2 dot webster dot edu
I'm not sure if it's correct to describe this a documentation problem, but it is a case where the documentation disagrees with the reality.

The documentation indicates that:

"All the values in the php3.ini-dist file correspond to the builtin defaults (that is, if no php3.ini is  used, or if you delete these lines, the builtin defaults will be identical)." -- from the comments at the top of php3.ini-dist

I found this to be untrue in the case of magic_quotes_gpc, which was Off until I copied php3.ini-dist to php3.ini (The only change I made was to add this line: gpc_order = "GP").

--Joyce Wilson

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-10 14:45 UTC] jimw@php.net
fixed in php3.ini-dist since the default is off.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 17:02:17 2025 UTC