#45891 [Opn]: php.ini location problem

From: Date: Fri, 22 Aug 2008 09:44:00 +0000
Subject: #45891 [Opn]: php.ini location problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-128316@lists.php.net to get a copy of this message
ID: 45891 Updated by: bjori@php.net 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

« previous php.bugs (#128316) next »