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
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.

Link to comment
Share on other sites

I changed my path to the extensions folder, and everything is working but php_curl.dll. I found ibeay32.dll and ssleay32.dll, moved them to the extensions folder as well, but it spits out the same error.

 

Do I have to change something else in php.ini?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

; 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?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.