Page 1 of 1
PHP Startup:Unable to load dynamic library my_sql.dll
Posted: Wed Feb 23, 2005 5:01 pm
by JEFFWOLF
Warning
PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_mysql.dll' - The specified procedure could not be found.
Also the php_imagick.dll module could not be found.
I have this set...
extension_dir = c:\php\ext
Other extensions such as php_bz2.dll load fine
php 5.0.3, apache 2.0.52, mysql 4.0.23
Any pointer would be appreciated
Posted: Wed Feb 23, 2005 5:48 pm
by pacsone
For the MySQL PHP extension problem, there is a dependent library
libMysql.dlll that comes with your PHP distribution. You can try copying it to the same folder where all the PHP extensions are located (
c:\php\ext in your setup), or the Windows %SYSTEM% folder (
C:\Windows\system32)
For the ImageMagick PHP extension problem, if you've downloaded any PacsOne Server older than version 2.1.3, you will need to download a new ImageMagick PHP extension for PHP 5.0.3 since the Zend API version has changed in that version:
http://www.pacsone.net/php5_imagick.dll
The last thing to check is whether you have copied the above 2 DLLs into your PHP extension folder
c:\php\ext .
Problem: PHP Startup: Unable to load dynamic library 'C:\PHP
Posted: Wed May 25, 2005 5:52 am
by Guest
I am getting the same problem as under:
PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_mysql.dll' - The specified procedure could not be found.
Also the php_imagick.dll module could not be found.
I tried anc copy libmysql.dll in the ext folder but did not help. I can see the php_mysql.dll is present in the folder but system still gives the problem. Please let me know what may be the solution.
Re: Problem: PHP Startup: Unable to load dynamic library 'C:
Posted: Wed May 25, 2005 7:12 am
by Jonathan
Guest wrote:I am getting the same problem as under:
PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_mysql.dll' - The specified procedure could not be found.
Also the php_imagick.dll module could not be found.
I tried anc copy libmysql.dll in the ext folder but did not help. I can see the php_mysql.dll is present in the folder but system still gives the problem. Please let me know what may be the solution.
Did you specify the path to the xet dir with '\' or with '/'. The latter is the correct one as the first is used by php as an escape charachter. Maybe inserting '\\' for every '\' will also work but I have not tested that.
Re: Problem: PHP Startup: Unable to load dynamic library 'C:
Posted: Wed May 25, 2005 11:50 am
by pacsone
Guest wrote:
PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_mysql.dll' - The specified procedure could not be found.
Depending on which PHP version you've installed, you may have to copy the
libmysql.dll under your PHP installation directory to the Windows System folder, e.g., C:\Windows\system32\.
Guest wrote:
Also the php_imagick.dll module could not be found.
php_imagick.dll need to be copied manually from the
php sub-folder where PacsOne Server is installed to the extension directory where your PHP is installed, e.g., C:\PHP\ext\ in your case above.
Problem: PHP Startup: Unable to load dynamic library 'C:\PHP
Posted: Wed May 25, 2005 5:31 pm
by Guest
Thanks for your response. I made some progress. Now I am not getting any error for php_mysql.dll after copy into system and system32 folder.
But I am still getting error for php5_imagick.dll not found even after copying as per your instruction below:
php_imagick.dll need to be copied manually from the php sub-folder where PacsOne Server is installed to the extension directory where your PHP is installed, e.g., C:\PHP\ext\ in your case above.
I can see file php_imagick is still there in the extenstion folder which I copied from the php folder of Pacsone php folder. Please help.
Posted: Wed May 25, 2005 8:17 pm
by pacsone
Which DLL did you configure in your PHP.INI file: php_imagick.dll or php5_imagick.dll?
The former is for PHP 4.x while the latter is for PHP 5.x. Whichever DLL you configure in your PHP.INI file, you need to copy it to your PHP extension directory, e.g., C:\PHP\ext\ in your case.
Installation Help
Posted: Wed May 25, 2005 11:30 pm
by Guest
Thanks for response. I copied php5_imagick.dll in d:\php\ext\ folder because I am using php5 not php4. I can see the file. Please help. Thanks.
Posted: Fri May 27, 2005 2:54 am
by pacsone
Where is your PHP installed?
From your previous posts, I saw one post referring to C:\php\ext\ and another referring to d:\php\ext\.
Once again, you need to copy the php5_imagick.dll to whatever PHP extension directory configured as extension_dir variable in your PHP.INI file.
php5_imagick.dll link download
Posted: Thu Jun 30, 2005 12:20 am
by cyberwilly
pacsone wrote:For the MySQL PHP extension problem, there is a dependent library
libMysql.dlll that comes with your PHP distribution. You can try copying it to the same folder where all the PHP extensions are located (
c:\php\ext in your setup), or the Windows %SYSTEM% folder (
C:\Windows\system32)
For the ImageMagick PHP extension problem, if you've downloaded any PacsOne Server older than version 2.1.3, you will need to download a new ImageMagick PHP extension for PHP 5.0.3 since the Zend API version has changed in that version:
http://www.pacsone.net/php5_imagick.dll
The last thing to check is whether you have copied the above 2 DLLs into your PHP extension folder
c:\php\ext .
The previous link does not work and I cannot find php5_imagick.dll under the PacsOne/PHP/ folder. Where can I get this file??
Currently I have tried with php_imagick.dll and get the above mentioned error. I am using PHP 5.0.4, Apache 2.0.54 and MySql 4.0.24. Any suggestions???
Thanks
Posted: Thu Jun 30, 2005 3:12 am
by pacsone
php5_imagick.dll is installed under the php sub-folder where PacsOne Server Premium Edition is installed.
If you've installed PHP 5.0.x, you must use the php5_imagick.dll, because the other DLL: php_imagick.dll is for PHP 4.x and will not work for PHP 5.0.x.