Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am getting this line in my error_log

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/php_curl.dll'

This is what I have done: 1. go to the folder no-debug-non-zts-20090626 but didn`t find the php_curl.dll file

so I thought Curl was not enabled.

  1. I went to php.ini and the line is there extension=php_curl.dll.

I have uploaded the phpinfo() if anyone wants to take a look:

http://manga.cartoonstream24.com/phpinfo.php

I have commented the php_curl.DLL out and replaced it with extension=curl.so and now I have this error:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/curl.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/curl.so: cannot open shared object file: No such file or directory in Unknown on line 0

I have recompiled apache using easyapache and enabled curlssl ( which disables Curl but has it) and curlwrapper.

Now I am getting:

[10-Dec-2013 11:59:57 America/New_York] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/homeloader.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/homeloader.so: cannot open shared object file: No such file or directory in Unknown on line 0
[10-Dec-2013 11:59:57 America/New_York] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/curl.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/curl.so: cannot open shared object file: No such file or directory in Unknown on line 0

I checked the folder /usr/local/lib/php/extensions/no-debug-non-zts-20100525 and cannot find curl.so and homeloader.so

I have now run the command Locate curl.so and this is the outcome:

locate curl.so
/opt/curlssl/lib/libcurl.so
/opt/curlssl/lib/libcurl.so.4
/opt/curlssl/lib/libcurl.so.4.2.0
/usr/lib64/libcurl.so.4
/usr/lib64/libcurl.so.4.1.1
/usr/lib64/python2.6/site-packages/pycurl.so

Any help to fix it would be appreciated.

Thank you for looking

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.