php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45891 php.ini location problem
Submitted: 2008-08-22 08:49 UTC Modified: 2008-08-30 01:00 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: admin at blandyuk dot co dot uk Assigned:
Status: No Feedback Package: *Configuration Issues
PHP Version: 5.2.5 OS: Windows Server 2003
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2008-08-22 08:49 UTC] admin at blandyuk dot co dot uk
Description:
------------
I'm using php 5.2.5 but also noticed this is a problem with previous versions. When looking at phpinfo(); your php5isapi dll looks for the php.ini in the C:\Windows\ directory, not the actual directory php has been extracted to. Why is this? To fix this I have to copy php.ini to C:\Windows\. This leads into another problem of trying to get php_mysql.dll extension to work, it fails until I copy libmysql.dll into the C:\Windows\ directory. Why isn't php looking it the right directory? This causes major head ache.

This leads into another problem, originally, phpinfo(); works but now, I get a blank screen, even though Wordpress works fine.

This means I can't show you the php.ini folder location via phpinfo();

This is a problem, even with your latest release, 5.2.6

Reproduce code:
---------------
http://www.arcoftruth.com/phpinfo.php

The above will be blank, I don't know why?

Expected result:
----------------
Should be phpinfo(); results.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-08-22 09:43 UTC] bjori@php.net
Reclassified.
 [2008-08-30 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 18:01:31 2024 UTC