嗨我已经在运行php 5.6的ubuntu 14.04上安装了wordpress 4.6站点。调用未定义的函数curl_version
管理页面是不可见的,我可以在日志中看到如下错误: -
致命错误:调用未定义功能curl_version()在/ var/www/html等/文件/模块/ postie/postie。 php on line 274
我该如何解决这个问题?
我核实,卷曲和PHP5卷曲安装在我们的服务器上: -
[email protected]:/var/www/html$ sudo apt-get install curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
curl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 137 not upgraded.
[email protected]:/var/www/html$ sudo apt-get install php5-curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
php5-curl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 137 not upgraded.
你运行过'sudo service apache2 restart'吗? –
是多次 – Max08