ID: 39316 User updated by: aren at cambre dot biz -Summary: It's still a bug Reported By: aren at cambre dot biz Status: Open Bug Type: Unknown/Other Function Operating System: Windows Server 2003 PHP Version: 5.1.6 New Comment:
Oops, correcting the summary. Previous Comments: ------------------------------------------------------------------------ [2006-11-08 15:16:17] aren at cambre dot biz Wrong-o. I loaded up filemon. You are correct that php is reading a php.ini in c:\windows. However, that file contains this line: extension_dir = c:\PHP\ext Next? ------------------------------------------------------------------------ [2006-11-08 14:27:01] [EMAIL PROTECTED] You are changing wrong php.ini. Check phpinfo() to see which php.ini is used. ------------------------------------------------------------------------ [2006-11-02 21:54:16] noah dot rusnock at echo-digitaldesign dot com I just setup a Windows 2000 SP4 virtual machine using Microsoft VirturalPC 2007 beta. I used the exact same setup as I did for my Windows XP (non-virtual machine) Apache server with PHP and I am still unable to load any extensions. ------------------------------------------------------------------------ [2006-11-02 20:50:11] noah dot rusnock at echo-digitaldesign dot com I have been dealing with this problem for months! I am using Windows XP SP2 with Apache 2.0.59 and PHP 5.1.6. I think I have had this issue since 5.1.4 or 5.1.3; I don't remember. I am new to PHP and Apache, but setup my own localhost server earlier this year (2006) and have had this problem from the beginning. (I added a vote, but submitted it as a 3; should be a 5; I need this working to start learning MySQL) ------------------------------------------------------------------------ [2006-10-31 19:51:40] aren at cambre dot biz That did not fix it. I deleted everything in C:\php, including directories, except for php.ini. Then I copied over the contents of php5.2-win32-latest.zip and did an iisreset (a command line program that restarts the web server). By the way, it looks like php is checking a couple of additional directories besides those specified in the path. Here is my path (each directory on a separate line): %SystemRoot%\system32 %SystemRoot% %SystemRoot%\System32\Wbem c:\Program Files\Intel\DMIX C:\Program Files\Microsoft SQL Server\80\Tools\Binn\ c:\Program Files\Microsoft SQL Server\90\Tools\binn\ c:\php Here is what PHP checks: C:\windows\system32\inetsrv\php_mysql.dll C:\WINDOWS\system32\php_mysql.dll C:\WINDOWS\system\php_mysql.dll C:\WINDOWS\php_mysql.dll C:\WINDOWS\system32\inetsrv\php_mysql.dll C:\WINDOWS\system32\php_mysql.dll C:\WINDOWS\php_mysql.dll C:\WINDOWS\System32\Wbem\php_mysql.dll C:\Program Files\Intel\DMIX\php_mysql.dll C:\Program Files\Microsoft SQL Server\80\Tools\Binn\php_mysql.dll C:\Program Files\Microsoft SQL Server\90\Tools\binn\php_mysql.dll C:\php\php_mysql.dll PHP follows the path exactly starting with the 6th line. The first 5 lines are some unknown set of directories. PHP checks those directories twice in a row. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/39316 -- Edit this bug report at http://bugs.php.net/?id=39316&edit=1