PHP Warning: PHP Startup: Unable to load dynamic library php_curl.dll impossibile find

Asked
Active3 hr before
Viewed126 times

6 Answers

librarywarning
90%

PHP Startup: Unable to load dynamic library 'curl' ... Uncommenting 2 lines in the php.ini file solves this,[22-Sep-2015 13:13:30 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.29/ext/php_curl.dll' - Impossibile trovare il modulo specificato.in Unknown on line 0, Meta Stack Overflow ,Stack Overflow en español

PHP Startup: Unable to load dynamic library 'curl' ... Uncommenting 2 lines in the php.ini file solves this

Open php.ini Remove semicolon to uncomment ;extension_dir = "ext" Remove semicolon to uncomment ;extension=curl Save php.ini

;
extension_dir = "ext"

PHP Startup: Unable to load dynamic library 'curl' ... Uncommenting 2 lines in the php.ini file solves this

Open php.ini Remove semicolon to uncomment ;extension_dir = "ext" Remove semicolon to uncomment ;extension=curl Save php.ini

;
extension = curl
load more v
88%

On starting Apache server, this error appears in the apache error log- ,I am using Apache 2.2 server, PHP 5.3.6 on a Windows 7 OS running on a 64-bit system.,PHP Warning: PHP Startup: Unable to load dynamic library ‘…\php-5.6.9\ext\php_curl.dll',PHP Warning: PHP Startup: Unable to load dynamic library 'D:\php5\ext\php_curl.dll' - The specified module could not be found.\r\n in Unknown on line 0

Fix: I didn’t need to download any other php_curl.dll file and couldn’t find one for PHP 5.6 anyway. What finally worked was to copy these three files into the Apache24\bin folder then restart Apache:

libeay32.dll

libssh2.dll

ssleay32.dll
72%

I currently have PHP 5.5.12 and Apache 2.4 installed on Windows Server 2008 R2. Everything is running perfectly with no issue/warnings.,As Darren commented, Apache don't understand php.ini relative paths in Windows.,In PHP 5.4 magic_quotes_gpc was removed. If you're running PHP5, remove that line.,But, PHP is not working as it should. In the error.log file from the Apache server I get the warning listed below

But, PHP is not working as it should. In the error.log file from the Apache server I get the warning listed below

PHP Warning: PHP Startup: Unable to load dynamic library 'ext\php_curl.dll' - The specified module could not be found.rn in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'ext\php_ldap.dll' - The specified module could not be found.rn in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'ext\php_mysql.dll' - The specified module could not be found.rn in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'ext\php_mysqli.dll' - The specified module could not be found.rn in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'ext\php_openssl.dll' - The specified module could not be found.rn in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'ext\php_pdo_mysql.dll' - The specified module could not be found.rn in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'ext\php_sqlsrv_55_ts.dll' - The specified module could not be found.rn in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'ext\php_pdo_sqlsrv_55_ts.dll' - The specified module could not be found.rn in Unknown on line 0

The PHP extensions are located in

C: phpext

Inside the file php.ini I have this variable

extension_dir = "ext"

here is a directory listing of the ext folder

 Volume in drive C is OS
 Volume Serial Number is C63C-1D75

 Directory of C:phpext

 07/29/2014 06:42 PM <DIR> .
    07/29/2014 06:42 PM <DIR> ..
       04/30/2014 02:46 PM 66,560 php_bz2.dll
       04/30/2014 02:46 PM 72,704 php_com_dotnet.dll
       04/30/2014 02:46 PM 507,392 php_curl.dll
       04/30/2014 02:46 PM 18,944 php_enchant.dll
       04/30/2014 02:46 PM 43,008 php_exif.dll
       04/30/2014 02:46 PM 2,679,808 php_fileinfo.dll
       04/30/2014 02:46 PM 1,358,848 php_gd2.dll
       04/30/2014 02:46 PM 40,960 php_gettext.dll
       04/30/2014 02:46 PM 240,128 php_gmp.dll
       04/30/2014 02:46 PM 831,488 php_imap.dll
       04/30/2014 02:46 PM 65,024 php_interbase.dll
       04/30/2014 02:46 PM 261,632 php_intl.dll
       04/30/2014 02:46 PM 179,200 php_ldap.dll
       04/30/2014 02:46 PM 1,239,552 php_mbstring.dll
       04/30/2014 02:46 PM 36,864 php_mysql.dll
       04/30/2014 02:46 PM 88,576 php_mysqli.dll
       04/30/2014 02:46 PM 141,824 php_oci8.dll
       04/30/2014 02:46 PM 142,336 php_oci8_11g.dll
       04/30/2014 02:46 PM 120,320 php_opcache.dll
       04/30/2014 02:46 PM 72,704 php_openssl.dll
       04/30/2014 02:46 PM 21,504 php_pdo_firebird.dll
       04/30/2014 02:46 PM 24,576 php_pdo_mysql.dll
       04/30/2014 02:46 PM 23,040 php_pdo_oci.dll
       04/30/2014 02:46 PM 20,480 php_pdo_odbc.dll
       04/30/2014 02:46 PM 27,648 php_pdo_pgsql.dll
       04/30/2014 02:46 PM 465,408 php_pdo_sqlite.dll
       08/28/2012 04:15 PM 186,520 php_pdo_sqlsrv_54_ts.dll
       06/26/2013 03:22 PM 166,400 php_pdo_sqlsrv_55_ts.dll
       04/30/2014 02:46 PM 90,112 php_pgsql.dll
       04/30/2014 02:46 PM 12,288 php_shmop.dll
       04/30/2014 02:46 PM 385,536 php_snmp.dll
       04/30/2014 02:46 PM 236,544 php_soap.dll
       04/30/2014 02:46 PM 54,784 php_sockets.dll
       04/30/2014 02:46 PM 617,472 php_sqlite3.dll
       08/28/2012 04:15 PM 204,952 php_sqlsrv_54_ts.dll
       06/26/2013 03:22 PM 183,296 php_sqlsrv_55_ts.dll
       04/30/2014 02:46 PM 31,744 php_sybase_ct.dll
       04/30/2014 02:46 PM 236,544 php_tidy.dll
       04/30/2014 02:46 PM 51,712 php_xmlrpc.dll
       04/30/2014 02:46 PM 231,936 php_xsl.dll
       40 File(s) 11,480,368 bytes
       2 Dir(s) 83,103,895,552 bytes free
load more v
65%

After upgrade to PHP 7.1 i have a problem with loading these two files:, The text was updated successfully, but these errors were encountered:

PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files\PHP\v7.1\ext\php_sqlsrv_7_nts_x86.dll' - The specified procedure could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files\PHP\v7.1\ext\php_pdo_sqlsrv_7_nts_x86.dll' - The specified procedure could not be found.
in Unknown on line 0
75%

Unable to load dynamic library 'C:\\php\\ext\\php_curl.dll', PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\php\\ext\\php_curl.dll' - The specified module could not be found. in Unknown on line 0, php_curl.dll is in C:\\php\\ext\\ , Follow-up from my post yesterday (Enabling cURL with PHP) The problem is that PHP isn't able to load php_curl.dll. I've tried several steps including ...

We uninstalled Apache and installed it again with following commands:

c: \Apache\ bin httpd - k uninstall
c: \Apache\ bin httpd - k install
load more v
40%

Run phpinfo(). Find line: Loaded Configuration File and look at extension_dir too. If it is c:\php and it is not the folder you have your php installed in then open the loaded conf file and edit the line,Run phpinfo(). Find line: Loaded Configuration File and look at extension_dir too. If it is c:\php and it is not the folder you have your php installed in then open the loaded conf file and edit the line,extension_dir = C:\php,Connect and share knowledge within a single location that is structured and easy to search.

Run phpinfo(). Find line: Loaded Configuration File and look at extension_dir too. If it is c:\php and it is not the folder you have your php installed in then open the loaded conf file and edit the line

extension_dir = C: \php
load more v

Other "library-warning" queries related to "PHP Warning: PHP Startup: Unable to load dynamic library php_curl.dll impossibile find"