curl is activated but is not showing in phpinfo

后端 未结 3 1650
無奈伤痛
無奈伤痛 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: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.

提交回复
热议问题