{"id":944,"date":"2022-08-30T15:09:47","date_gmt":"2022-08-30T15:09:47","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/09\/could-not-load-php_curl-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:09:47","modified_gmt":"2022-08-30T15:09:47","slug":"could-not-load-php_curl-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/could-not-load-php_curl-collection-of-common-programming-errors\/","title":{"rendered":"Could not load php_curl-Collection of common programming errors"},"content":{"rendered":"<p>I have installed php5.2.13, apache2.2.15 on WindowsXp.Add C:\\php to PATH ssystem variable.<\/p>\n<p>I can&#8217;t enable curl extension. I configure extension_dir and remove &#8220;;&#8221; form php_curl in php.ini but nothing!<\/p>\n<p>I copied ssleay32.dll and libeay32.dll in system32 directory &#8211; nothing Error log say: PHP Warning: PHP Startup: Unable to load dynamic library &#8216;C:\\php\\ext\\php_curl.dll&#8217; &#8211; Attempt to access invalid address.\\r\\n in Unknown on line 0<\/p>\n<p>Can someone help me?<\/p>\n<p>Thanks and sorry for bad english.<\/p>\n<ol>\n<li>\n<p>I found a solution : mod_ssl was disabled in http.conf.<\/p>\n<p>I remove dll files from system32 directory and everything is ok.<\/p>\n<p>So, just need to enable curl extension in php.ini. And enable mod_ssl in httpd.conf<\/p>\n<\/li>\n<li>\n<p>As weird as it may seem, just enabling mod_ssl extension in httpd.conf<\/p>\n<pre><code>LoadModule ssl_module C:\\YOUR\\PATH\\apache-2.2\\modules\\mod_ssl.so\n<\/code><\/pre>\n<p>resolved my problem.<\/p>\n<\/li>\n<\/ol>\n<p id=\"rop\"><small>Originally posted 2013-11-09 23:04:58. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I have installed php5.2.13, apache2.2.15 on WindowsXp.Add C:\\php to PATH ssystem variable. I can&#8217;t enable curl extension. I configure extension_dir and remove &#8220;;&#8221; form php_curl in php.ini but nothing! I copied ssleay32.dll and libeay32.dll in system32 directory &#8211; nothing Error log say: PHP Warning: PHP Startup: Unable to load dynamic library &#8216;C:\\php\\ext\\php_curl.dll&#8217; &#8211; Attempt to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-944","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/944","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=944"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/944\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=944"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=944"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}