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
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: clegier at legier dot net
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Sun Dec 22 03:01:28 2024 UTC