Bug #76888 [NEW]: PHP Startup: Unable to load dynamic library 'php_curl.dll'

From: Date: Sun, 16 Sep 2018 13:33:47 +0000
Subject: Bug #76888 [NEW]: PHP Startup: Unable to load dynamic library 'php_curl.dll'
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-217078@lists.php.net to get a copy of this message
From: masterwto at 163 dot com Operating system: Windows 7 64bit PHP version: 7.3.0RC1 Package: cURL related Bug Type: Bug Bug description:PHP Startup: Unable to load dynamic library 'php_curl.dll' Description: ------------ My Apache24 httpd.conf: LoadModule php7_module "D:/Program Files/PHP7/php7apache2_4.dll" PHPIniDir "D:/Program Files/PHP7" My PHP7.3 php.ini: ; On windows: extension_dir = "D:/Program Files/PHP7/ext" extension=php_curl.dll When Apache2.4 Windows service is started, I got the error: PHP Warning: PHP Startup: Unable to load dynamic library 'php_curl.dll' (tried: D:/Program Files/PHP7/ext\\php_curl.dll (\xef\xbf\xbd\xd2\xb2\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xd6\xb8\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xc4\xa3\xef\xbf\xbd\xe9\xa1\xa3), D:/Program Files/PHP7/ext\\php_php_curl.dll.dll (\xef\xbf\xbd\xd2\xb2\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xd6\xb8\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xc4\xa3\xef\xbf\xbd\xe9\xa1\xa3)) in Unknown on line 0 [Sun Sep 16 20:59:25.428390 2018] [mpm_winnt:notice] [pid 2992:tid 508] AH00455: Apache/2.4.34 (Win64) PHP/7.3.0RC1 configured -- resuming normal operations [Sun Sep 16 20:59:25.428390 2018] [mpm_winnt:notice] [pid 2992:tid 508] AH00456: Apache Lounge VC15 Server built: Aug 15 2018 11:38:51 [Sun Sep 16 20:59:25.428390 2018] [core:notice] [pid 2992:tid 508] AH00094: Command line: 'D:\\Program Files\\Apache24\\bin\\httpd.exe -d D:/Program Files/Apache24' [Sun Sep 16 20:59:25.428390 2018] [mpm_winnt:notice] [pid 2992:tid 508] AH00418: Parent: Created child process 6548 PHP Warning: PHP Startup: Unable to load dynamic library 'php_curl.dll' (tried: D:/Program Files/PHP7/ext\\php_curl.dll (\xef\xbf\xbd\xd2\xb2\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xd6\xb8\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xc4\xa3\xef\xbf\xbd\xe9\xa1\xa3), D:/Program Files/PHP7/ext\\php_php_curl.dll.dll (\xef\xbf\xbd\xd2\xb2\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xd6\xb8\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xc4\xa3\xef\xbf\xbd\xe9\xa1\xa3)) in Unknown on line 0 [Sun Sep 16 20:59:26.364392 2018] [mpm_winnt:notice] [pid 6548:tid 456] AH00354: Child: Starting 64 worker threads. When I changed the php.ini file to: extension=curl I got error like this: PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: D:/Program Files/PHP7/ext\\curl (\xef\xbf\xbd\xd2\xb2\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xd6\xb8\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xc4\xa3\xef\xbf\xbd\xe9\xa1\xa3), D:/Program Files/PHP7/ext\\php_curl.dll (\xef\xbf\xbd\xd2\xb2\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xd6\xb8\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xc4\xa3\xef\xbf\xbd\xe9\xa1\xa3)) in Unknown on line 0 [Sun Sep 16 21:31:27.302425 2018] [mpm_winnt:notice] [pid 6800:tid 508] AH00455: Apache/2.4.34 (Win64) PHP/7.3.0RC1 configured -- resuming normal operations [Sun Sep 16 21:31:27.302425 2018] [mpm_winnt:notice] [pid 6800:tid 508] AH00456: Apache Lounge VC15 Server built: Aug 15 2018 11:38:51 [Sun Sep 16 21:31:27.302425 2018] [core:notice] [pid 6800:tid 508] AH00094: Command line: 'D:\\Program Files\\Apache24\\bin\\httpd.exe -d D:/Program Files/Apache24' [Sun Sep 16 21:31:27.302425 2018] [mpm_winnt:notice] [pid 6800:tid 508] AH00418: Parent: Created child process 2524 PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: D:/Program Files/PHP7/ext\\curl (\xef\xbf\xbd\xd2\xb2\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xd6\xb8\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xc4\xa3\xef\xbf\xbd\xe9\xa1\xa3), D:/Program Files/PHP7/ext\\php_curl.dll (\xef\xbf\xbd\xd2\xb2\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xd6\xb8\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xc4\xa3\xef\xbf\xbd\xe9\xa1\xa3)) in Unknown on line 0 [Sun Sep 16 21:31:27.879626 2018] [mpm_winnt:notice] [pid 2524:tid 456] AH00354: Child: Starting 64 worker threads. Test script: --------------- no need php file at all. -- Edit bug report at https://bugs.php.net/bug.php?id=76888&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76888&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76888&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76888&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=76888&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=76888&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=76888&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=76888&r=needscript Try newer version: https://bugs.php.net/fix.php?id=76888&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=76888&r=support Expected behavior: https://bugs.php.net/fix.php?id=76888&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=76888&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=76888&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=76888&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76888&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=76888&r=dst IIS Stability: https://bugs.php.net/fix.php?id=76888&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=76888&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=76888&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=76888&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=76888&r=mysqlcfg

« previous php.bugs (#217078) next »