php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46163 PhpInfo
Submitted: 2008-09-23 20:04 UTC Modified: 2008-09-23 20:59 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: david dot barkie at gmail dot com Assigned:
Status: Not a bug Package: PHP options/info functions
PHP Version: 5.2.6 OS: Windows XP Pro
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: david dot barkie at gmail dot com
New email:
PHP Version: OS:

 

 [2008-09-23 20:04 UTC] david dot barkie at gmail dot com
Description:
------------
I have tried many times to get phpInfo() to display the correct Configuration File (php.ini) location; however, it is still displaying C:\WINDOWS and Loaded Configuration File equals (none). Where in the php.ini file is this file being read from?Is the value stored in the registry? Environment Variable PATH? I changed my PATH variable and bounced the server and phpInfo() did not capture the new values? why is this? Someone please help, if possible?

PS.I tried creating IniFilePath variable in registry; however, this just stopped all phpinfo() from displaying.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-09-23 20:26 UTC] david dot barkie at gmail dot com
This is phpinfo() issue
 [2008-09-23 20:59 UTC] tularis@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

It's not a phpinfo() issue. That works fine, your problem is that it uses the default php.ini values, which it sees as "c:\windows". If you put your php.ini file in the proper place (depends on what sapi you're using, if any), it will use it and show THAT it uses it.

For more information, see: http://www.php.net/manual/en/configuration.php
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 02:01:30 2024 UTC