php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41463 PHP.ini file displayed in phpinfo();
Submitted: 2007-05-22 16:17 UTC Modified: 2007-05-22 17:32 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: clegier at legier dot net Assigned:
Status: Not a bug Package: PHP options/info functions
PHP Version: 5.2.2 OS: Windows XP
Private report: No CVE-ID: None
 [2007-05-22 16:17 UTC] clegier at legier dot net
Description:
------------
The php.ini file is shown in it's entirety after configuration setting mistype.

Reproduce code:
---------------
In the php.ini set:

doc_root = C:\APACHE\htdocs"

No leading quote, only trailing.

Expected result:
----------------
After saving the php.ini and loading up httpd, look in the phpinfo(); after doc_root. The entire rest of the php.ini is displayed.

This also works for: extension_dir = C:\APACHE\PHP\ext"


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-05-22 17:32 UTC] johannes@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

The ini parser is quite simple i the way it works and where not going to change hat.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Aug 10 19:01:25 2020 UTC