php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #23028 need more verbosity in allowed php_value configuration errors.
Submitted: 2003-04-02 17:36 UTC Modified: 2021-07-07 10:17 UTC
Votes:4
Avg. Score:3.0 ± 1.4
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:1 (50.0%)
From: charlesb at ekit-inc dot com Assigned: cmb (profile)
Status: Wont fix Package: Apache2 related
PHP Version: 4.3.1 OS: solaris/i86
Private report: No CVE-ID: None
 [2003-04-02 17:36 UTC] charlesb at ekit-inc dot com
I recently made the mistake of declaring register_globals in http.conf.  It was my mistake as it wasn't on the list of PHP_INI_ALL, PHP_INI_PERDIR, or PHP_INI_SYSTEM directives.

The thing is, it produced no errors at all, even when I put register_globals in the php.ini file (with the erroneous entry still in http.conf) I could still run apache but register_globals was turned off.  

What would be really nice is if there was an error warning when I ran httpd, about the sanity of the php configuration.

Thanks.



Patches

Pull Requests

Pull requests:

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-01 01:30 UTC] jani@php.net
-Package: Feature/Change Request +Package: Apache2 related
 [2017-10-24 01:47 UTC] kalle@php.net
-Status: Open +Status: Analyzed
 [2017-10-24 01:47 UTC] kalle@php.net
Seems like a sane thing to be adopted, tho I only expect this to be for the apache2 SAPI that uses such nowadays
 [2021-03-03 03:01 UTC] gchino1819 at gmail dot com
The following pull request has been associated:

Patch Name: Containerization
On GitHub:  https://github.com/php/web-bugs/pull/91
Patch:      https://github.com/php/web-bugs/pull/91.patch
 [2021-03-03 03:58 UTC] gchino1819 at gmail dot com
The following pull request has been associated:

Patch Name: Fix missing emails for brazilian translation
On GitHub:  https://github.com/php/systems/pull/14
Patch:      https://github.com/php/systems/pull/14.patch
 [2021-03-03 03:59 UTC] gchino1819 at gmail dot com
The following pull request has been associated:

Patch Name: Use OhDear as status-page for php.net
On GitHub:  https://github.com/php/systems/pull/12
Patch:      https://github.com/php/systems/pull/12.patch
 [2021-03-03 04:00 UTC] gchino1819 at gmail dot com
The following pull request has been associated:

Patch Name: improves lookup-hack wrt. mysqli_stmt and mysqli_driver (fixes #66340)
On GitHub:  https://github.com/php/systems/pull/4
Patch:      https://github.com/php/systems/pull/4.patch
 [2021-03-03 04:02 UTC] gchino1819 at gmail dot com
The following pull request has been associated:

Patch Name: Fix #51903: simplexml_load_file() doesn't use HTTP headers
On GitHub:  https://github.com/php/php-src/pull/6747
Patch:      https://github.com/php/php-src/pull/6747.patch
 [2021-03-03 04:29 UTC] fjdjd at dfkf dot cn
why in the world do you link random unrelated pull requests?
 [2021-07-07 10:17 UTC] cmb@php.net
-Status: Analyzed +Status: Wont fix -Assigned To: +Assigned To: cmb
 [2021-07-07 10:17 UTC] cmb@php.net
Unsupported INI directives are deliberately ignored (regardless
where they're set); changing this would require the RFC
process[1].  Given that this feature request didn't gain notable
traction, I'm closing as WONTFIX.  If anybody is still interested
in this feature, please pursue the RFC process.

[1] <https://wiki.php.net/rfc/howto>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 11:01:30 2024 UTC