#45891 [Opn]: php.ini location problem

[email protected]
Newsgroups php.bugs
Message-ID <[email protected]>
 ID:               45891
 Updated by:       [email protected]
 Reported By:      admin at blandyuk dot co dot uk
 Status:           Open
-Bug Type:         Systems problem
+Bug Type:         *Configuration Issues
 Operating System: Windows Server 2003
-PHP Version:      Irrelevant
+PHP Version:      5.2.5
 New Comment:

Reclassified.


Previous Comments:
------------------------------------------------------------------------

[2008-08-22 08:49:33] 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.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=45891&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.