Facebook需要卷曲PHP扩展 [英] Facebook needs the CURL PHP extension
问题描述
我想我的Apache服务器上运行我的第一个Facebook的PHP应用程序。
它给误差 Facebook需要卷曲PHP扩展。
。我在php.ini中添加行扩展= php_curl.dll
并在phpStorm IDE正常运行。
但它仍然给错误的网络浏览器,当我手动把PHP文件到Apache目录和运行服务器。
I'm trying to run my first facebook php application on my apache server.
It gives error Facebook needs the CURL PHP extension.
. I have added line extension=php_curl.dll
in php.ini and it runs normally in phpStorm ide.
But it still gives error in web browser when I put php files into apache directory and run server manually.
推荐答案
在一个新的PHP页面类型:
in a new php page type:
<?php
phpinfo();
?>
在那里检查,看看哪些php.ini中,你需要编辑。
in there check to see which php.ini you need to edit.
Loaded Configuration File: ________ path to ini file you must edit _______
此外,使用此页面查看服务器是否认为卷曲已启用。你看到这行:
Also, use this page to see if the server thinks curl is enabled. do you see this line:
cURL support enabled
如果它没有编辑ini文件并重新启动Web服务器启用后,事情取决于你如何安装了PHP
if it is not enabled after editing the ini file and restarting the web server, things depend on how you installed php
这指南看起来很有为
这篇关于Facebook需要卷曲PHP扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!