# php -m |grep curl PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/ curl.so ' - /usr/local/lib/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by /usr/lib/php5/20090626/ curl.so ) in Unknown on line 0 

Reinstalled everything that is connected with curl. Nothing helped :( Maybe someone came across?

  • sudo apt-get install php5 openssl php5-curl did? - Sergiks
  • Yes. repeatedly. Removed, installed ... - VasyOk
  • Run ls -l /usr/lib/php5/20100525+lfs/curl.so if there is no executable file, try to copy from source. - zenith

3 answers 3

php.ini uncomment library extension

Small explanations. In a similar error, I came to the conclusion that it’s worth removing the semicolon from the line

 ; extension=php_curl.dll 

i.e

  1. check if curl library is installed
  2. configure php.ini by uncommenting the line above

    Your versions do not match. Binding sharpened by a newer version of libcurl than the one that you have installed. You can either search for a more recent libcurl library in the repositories (well, or build https://curl.haxx.se/download.html ), or rebuild php-curl, which will be more difficult: pecl

       apt-get install php5-curl php5enmod curl service apache restart