#31568 [Opn->Bgs]: Extensions do not recognize needed files in PATH
ID: 31568
User updated by: chris at epliant dot com
Reported By: chris at epliant dot com
-Status: Open
+Status: Bogus
Bug Type: Dynamic loading
Operating System: Windows XP Professional SP2
PHP Version: 5.0.3
New Comment:
Found problem with my operating system. This is not a bug.
Previous Comments:
------------------------------------------------------------------------
[2005-01-16 09:26:00] chris at epliant dot com
Description:
------------
This is a new install of PHP 5.0.3. I am following the instructions to
try to centralize all files in the PHP dirs rather than copying
supporting files to C:\WINDOWS\SYSTEM32.
I added C:\php5 to system PATH.
Copied libmysql.dll to C:\php5\ from C:\mysql\lib\opt\.
libeay32.dll and ssleay32.dll already existed in C:\php5
I enabled the curl, mysql, and/or mysqli extensions.
The only location that the Apache module will recognize the above files
is C:\WINDOWS\SYSTEM32.
Reproduce code:
---------------
php.ini lines:
--------------------------------
extension_dir = "c:/php5/ext/"
extension=php_curl.dll
extension=php_mysql.dll
extension=php_mysqli.dll
--------------------------------
Code:
--------------------------------
<?php
phpinfo();
?>
--------------------------------
Expected result:
----------------
Start apache and expect phpinfo() to report the presence of curl and
mysql and/or mysqli (I tried it with either one, then both enabled).
Actual result:
--------------
Apache generated warning windows and phpinfo() does not report mysql or
curl.
In starting apache-2.0.52, I get:
PHP Startup: Unable to load dynamic library 'c:\php5\ext\php_mysql.dll'
- The specified module could not be found.
In starting apache-2.0.52, I get:
PHP Startup: Unable to load dynamic library 'c:\php5\ext\php_curl.dll'
- The specified module could not be found.
(When I copied all three of the above files to C:\Windows\System32,
Apache worked properly but defeats the purpose).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31568&edit=1
Thread (2 messages)