curl已激活,但未显示在phpinfo中 [英] curl is activated but is not showing in phpinfo

查看:206
本文介绍了curl已激活,但未显示在phpinfo中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个问题, curl 没有显示在phpinfo,因为我使用 wampserver(64位)当我打开php然后php扩展一个刻度放置在 php_curl 在我的wamp服务器,但仍然curl不显示在phpinfo。
任何人都可以帮助我?

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 in front of php_curl in my wamp server but still curl is not displayed in phpinfo. Can anyone help me?

推荐答案

几天前我遇到了这个问题,可以通过安装apache addon版本2.2.9和php addon版本5.3.1来修复它

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

这两个都可以在下载页面的插件部分 http://www.wampserver.com/en

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

:
这只发生在我的64位笔记本电脑上,我的32位的桌面运行最新版本很好没有问题

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

还...如果你看在(C):\wamp\logs\apache_error(或任何你安装到的路径)我怀疑你会看到类似这样的错误。

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警告:PHP启动:无法加载动态库
'c:/wamp/bin/php/php5.4.3/ext/php_curl.dll' - 应用程序有
无法启动,因为其并行配置不正确。
请参阅应用程序事件日志或使用命令行
sxstrace.exe工具获取更多详细信息。\r\\\
在未知的行0上

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

由于这个问题现在相当老了,因为我在新的笔记本电脑上再次遇到这个问题,而其他用户访问了我在这里给出的答案。你使用32位安装的wampserver,即使在64位平台上,这个问题不会发生,这是避免它的最简单的方法。

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.

这篇关于curl已激活,但未显示在phpinfo中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆