Jump to content

[SOLVED] Cannot find php_curl.dll


Arez

Recommended Posts

"Unknown(): Unable to load dynamic library 'C:/Program Files/Apache Group/Apache2/php/sapi/php_curl.dll' - The specified module could not be found."

 

I am 100% sure it is there. I took the DLL from the extension folder which was included with the PHP I installed, and know other DLLs are loading up in the same location. Am I missing something?

 

sapizq2.jpg

 

This is what it says in the error log:

 

PHP Warning:  Unknown(): Unable to load dynamic library 'C:/Program Files/Apache Group/Apache2/php/sapi/php_curl.dll' - The specified module could not be found.\r\n in Unknown on line 0

Link to comment
https://forums.phpfreaks.com/topic/64954-solved-cannot-find-php_curldll/
Share on other sites

php_curl.dll requires two other libraries (ibeay32.dll and ssleay32.dll) which should be located in the root of PHP installation folder.

 

You should keep all extension files (php_*.dll) in the extension folder, you'll want to configure the extension_dir directive in the php.ini to point to the extension folder located in PHP's installation folder.

 

Also It is a good idea to add PHP to the Windows Path.

You don't. You should keep them where they are. Never move files out of or move files around the php installation folder. Keep all files as they are.

 

What you should do is configure extension_dir in the php.ini to point to PHP's extension folder, eg:

extension_dir = "C:/php/extension"

(change C:/php to PHPs installation path)

 

And add the php folder, eg C:/php (just the path to PHP installation path) to the Windows Path as I mentioned in my post earlier.

 

Note: When you add PHP to the path you must restart Windows.

; Directory in which the loadable extensions (modules) reside.

extension_dir = "C:/Program Files/Apache Group/Apache2/php/extensions/"

 

I am still getting the php_curl.dll error, saying it isn't there when it is. I'm really confused since I think I am doing everything correctly. Something wrong with Apache HTTP Server 2.0.59?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.