• I’m trying to run the WP Update and it keeps failing. with this error message “There are no HTTP transports available…”

    Googeling around suggest that I have an issue with my PHP configuration. I.e. curl isn’t configured. So I open PHP.ini and uncomment “extension=php_curl.dll” and restart Apache. Still getting the same error message.

    BTW I’m running this on my desktop machine Windows7 with Apache 2.4, MySQL, PHP 5.5 all installed separately in their own folders on the root (C:) drive.

    Obviously I’m missing something. curl is installed because it is listed in phpinfo. Uncommenting it and then saving the file has no effect as far as the WP Update goes.

Viewing 4 replies - 1 through 4 (of 4 total)
  • See if you can locate an oepnssl .dll in php.ini, and if it isn’t already uncommented, give that a try.

    extension=php_openssl.dll

    Restart Apache and see if that makes any difference.

    Dion

    (@diondesigns)

    The default PHP curl extension on Windows-based Apache/PHP installations will not load if PHP is set up as an Apache module (mod_php). The reason is that curl was compiled with libssh2 support, and since PHP is running as an Apache module, libssh2.dll must exist in the Apache binary directory. Apache has no need for libssh2 natively, so it is not in the directory by default.

    This can be fixed by copying the libssh2.dll file from your PHP installation directory to the Apache binary directory. You must do a copy…the file must exist in both Apache and PHP. While you’re doing the copy, make sure the libeay32.dll and ssleay32.dll files exist in the Apache binary directory. If they do not, copy those over as well.

    Once you do this, check phpinfo() to verify the curl extension is available. If it is, you should now be able to use the curl extension in WordPress.

    Thread Starter ronc0011

    (@ronc0011)

    Thank you Clayton that appears to have done the trick. I stopped getting the error message and I finally did get an ‘Updated successfully” message.

    Also thank you DionDesigns I was unaware of this aspect of Apache / PHP I will make note of this and look into it on my server.

    You’re welcome. Glad it worked!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can't run WordPress Update’ is closed to new replies.