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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
50 - 22 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 22:01:28 2024 UTC