嗨我已經在運行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