curl is activated but is not showing in phpinfo

后端 未结 3 1649
無奈伤痛
無奈伤痛 2021-01-03 03:48

I have a problem that curl is not showing in phpinfo as i am using wampserver(64 bit) but when i open php and then php extensions a tick is placed

相关标签:
3条回答
  • 2021-01-03 04:27

    This is where I finally found my answer: PHP cURL not working - WAMP on Windows 7 64 bit

    There, Matthieu Napoli says:

    Go to http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/ and download the curl version that corresponds to your php version under "Fixed curl extensions:".

    So if you have php 5.3.13, download "php_curl-5.3.13-VC9-x64.zip". Try the "VC" version first. Then replace the php_curl.dll in ext folder. This worked for me.

    0 讨论(0)
  • 2021-01-03 04:36

    I had the same problem with curl library on Windows 7 x64 but i just downloaded fixed version of php_curl.dll library from here: http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/ and it was well.

    0 讨论(0)
  • 2021-01-03 04:54

    I ran into this issue myself a couple of days ago, the only way I could fix it is by installing apache addon version 2.2.9 and php addon version 5.3.1

    Both are available in the addons section of the download page at http://www.wampserver.com/en

    EDIT:: This only happened to me on my 64bit laptop, my 32bit desktop runs the latest versions just fine with no issues

    Also... if you look in (C):\wamp\logs\apache_error (or whatever path you've installed to) I suspect you will see an error similar to this..

    PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.4.3/ext/php_curl.dll' - The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.\r\n in Unknown on line 0

    Since this question is fairly old now and since I've experienced this issue again on my new laptop, and other users have visited the answer I've given here.. It appears if you use the 32bit installation of wampserver, even on a 64bit platform, this issue doesn't occur and it's the easiest way to avoid it.

    0 讨论(0)
提交回复
热议问题