2016-12-09 56 views
0

我在Wordpress插件中收到以下消息 - OneSignal。Wordpress插件 - cURL未安裝在此服務器上

OneSignal Push: cURL is not installed on this server. cURL is required to send notifications. Please make sure cURL is installed on your server before continuing.

我對LEMP運行的WordPress 4.6.1堆棧 - 的Ubuntu 14.04.5,Php5.5.9

按照從#1幾條建議

,我已經安裝PHP5捲曲,並有curl.so文件在extension_dir中。我在php.ini文件中添加了行extension=curl.so/etc/php5/fpm

仍然錯誤似乎沒有消失。這裏需要做什麼?

+0

你重新啓動服務器? –

+0

是的。我確實重新啓動了nginx服務器。但是這個錯誤仍然出現在wordpress中。 –

+0

你應該重新啓動php本身 –

回答

1

你可能需要安裝php5.6捲曲這樣的:sudo apt-get install php5.6-curl

+0

是的。我做到了。 –

+0

請注意php5。** 6 ** - 如果使用php5-curl,可能會安裝錯誤版本的捲曲 –

+0

我將php5.5.9更新爲php5.6以及其他依賴項,然後安裝php5.6-curl。現在這個問題已經解決了。 –

相關問題