#28544 [Com]: PHP Startup: Unable to load dynamic library ...
ID: 28544 Comment by: arkeet at shaw dot ca Reported By: kalas at atlas dot cz Status: Open Bug Type: Dynamic loading Operating System: WinXP Pro PHP Version: 5.0.0RC2 New Comment: I (using RC3, Apache 1.3.31) had this problem too with php_mysql.dll. I worked around this problem by copying libmysql.dll from the PHP root directory to the Windows directory, and everything worked fine. Previous Comments: [2004-06-15 08:29:27] florian dot caspari at xx-well dot com Additional comment: This bug only occurs if additional .dlls are needed - in my case for the php_yaz extension. This additional dlls are stored in my php version in the folder *dlls* and not in *extensions* The zip extension, which requires no additional dll, works fine. Haven't found a solution yet. [2004-06-05 23:39:46] Philip dot Heath at charter dot net I found this on another forum: "the php_mysql.dll extension supports mysql_create_db() and mysql_drop_db() functions as do the mySQL 3.x client libraries. Fine. But these 2 functions are dropped in versions 4.x and 5.x of libmySQL.dll." Perhaps verifying what version of MySQL libs php_mysql.dll are build against could shed some light. [2004-05-31 13:32:14] jdiezm at gmx dot de Hi, i had the same problem. PHP needs to find *all* DLL's, not only those in the "ext" dir. The libmhash.dll, libmysql.dll, etc... are on the main PHP directory. I copied them to the the extensions directory (c:\Windows in my case) and everything works now. Is it a bug that PHP doesnt find those DLL's automatically? J. [2004-05-27 17:47:44] kalas at atlas dot cz Description: PHP fails to load any extension, that I enable in php.ini, with error message (for ex. for php_exif.dll) "PHP Startup: Unable to load dynamic library "C:\Program Files\php-5.0.rc2\ext\php_exif.dll'. Any change to extension_dir doesn't seem to work, I still get the error message whatever the path is (the modules are really stored there). I'm running Apache 2.0.49 and PHP as module. With PHP 4.3.4 it works fine with the same Apache. Regards, Radim Kalas -- Edit this bug report at http://bugs.php.net/?id=28544&edit=1
#28544 [Com]: PHP Startup: Unable to load dynamic library ...
ID: 28544 Comment by: florian dot caspari at xx-well dot com Reported By: kalas at atlas dot cz Status: Open Bug Type: Dynamic loading Operating System: WinXP Pro PHP Version: 5.0.0RC2 New Comment: Additional comment: This bug only occurs if additional .dlls are needed - in my case for the php_yaz extension. This additional dlls are stored in my php version in the folder *dlls* and not in *extensions* The zip extension, which requires no additional dll, works fine. Haven't found a solution yet. Previous Comments: [2004-06-05 23:39:46] Philip dot Heath at charter dot net I found this on another forum: "the php_mysql.dll extension supports mysql_create_db() and mysql_drop_db() functions as do the mySQL 3.x client libraries. Fine. But these 2 functions are dropped in versions 4.x and 5.x of libmySQL.dll." Perhaps verifying what version of MySQL libs php_mysql.dll are build against could shed some light. [2004-05-31 13:32:14] jdiezm at gmx dot de Hi, i had the same problem. PHP needs to find *all* DLL's, not only those in the "ext" dir. The libmhash.dll, libmysql.dll, etc... are on the main PHP directory. I copied them to the the extensions directory (c:\Windows in my case) and everything works now. Is it a bug that PHP doesnt find those DLL's automatically? J. [2004-05-27 17:47:44] kalas at atlas dot cz Description: PHP fails to load any extension, that I enable in php.ini, with error message (for ex. for php_exif.dll) "PHP Startup: Unable to load dynamic library "C:\Program Files\php-5.0.rc2\ext\php_exif.dll'. Any change to extension_dir doesn't seem to work, I still get the error message whatever the path is (the modules are really stored there). I'm running Apache 2.0.49 and PHP as module. With PHP 4.3.4 it works fine with the same Apache. Regards, Radim Kalas -- Edit this bug report at http://bugs.php.net/?id=28544&edit=1
#28544 [Com]: PHP Startup: Unable to load dynamic library ...
ID: 28544 Comment by: Philip dot Heath at charter dot net Reported By: kalas at atlas dot cz Status: Open Bug Type: Dynamic loading Operating System: WinXP Pro PHP Version: 5.0.0RC2 New Comment: I found this on another forum: "the php_mysql.dll extension supports mysql_create_db() and mysql_drop_db() functions as do the mySQL 3.x client libraries. Fine. But these 2 functions are dropped in versions 4.x and 5.x of libmySQL.dll." Perhaps verifying what version of MySQL libs php_mysql.dll are build against could shed some light. Previous Comments: [2004-05-31 13:32:14] jdiezm at gmx dot de Hi, i had the same problem. PHP needs to find *all* DLL's, not only those in the "ext" dir. The libmhash.dll, libmysql.dll, etc... are on the main PHP directory. I copied them to the the extensions directory (c:\Windows in my case) and everything works now. Is it a bug that PHP doesnt find those DLL's automatically? J. [2004-05-27 17:47:44] kalas at atlas dot cz Description: PHP fails to load any extension, that I enable in php.ini, with error message (for ex. for php_exif.dll) "PHP Startup: Unable to load dynamic library "C:\Program Files\php-5.0.rc2\ext\php_exif.dll'. Any change to extension_dir doesn't seem to work, I still get the error message whatever the path is (the modules are really stored there). I'm running Apache 2.0.49 and PHP as module. With PHP 4.3.4 it works fine with the same Apache. Regards, Radim Kalas -- Edit this bug report at http://bugs.php.net/?id=28544&edit=1
#28544 [Com]: PHP Startup: Unable to load dynamic library ...
ID: 28544 Comment by: jdiezm at gmx dot de Reported By: kalas at atlas dot cz Status: Open Bug Type: Dynamic loading Operating System: WinXP Pro PHP Version: 5.0.0RC2 New Comment: Hi, i had the same problem. PHP needs to find *all* DLL's, not only those in the "ext" dir. The libmhash.dll, libmysql.dll, etc... are on the main PHP directory. I copied them to the the extensions directory (c:\Windows in my case) and everything works now. Is it a bug that PHP doesnt find those DLL's automatically? J. Previous Comments: [2004-05-27 17:47:44] kalas at atlas dot cz Description: PHP fails to load any extension, that I enable in php.ini, with error message (for ex. for php_exif.dll) "PHP Startup: Unable to load dynamic library "C:\Program Files\php-5.0.rc2\ext\php_exif.dll'. Any change to extension_dir doesn't seem to work, I still get the error message whatever the path is (the modules are really stored there). I'm running Apache 2.0.49 and PHP as module. With PHP 4.3.4 it works fine with the same Apache. Regards, Radim Kalas -- Edit this bug report at http://bugs.php.net/?id=28544&edit=1