
我在啟動時遇到問題WordPress 外掛。
插件無法激活,因為它觸發了致命錯誤。
官方 Amazon Web Services SDK 需要使用 OpenSSL 和 zlib 編譯的 PHP 5.3.3+ 和 cURL 7.16.2+。您的伺服器目前沒有啟動 PHP cURL 庫。
我在 Ubuntu LAMP 堆疊上,我檢查了 cURL 是否已安裝 -
php -v
輸出
PHP 7.0.19-1+deb.sury.org~trusty+2 (cli) (built: May 22 2017 13:29:59) (NTS)
Copyright (c) 1997-2017 The PHP Group
curl -V
輸出
curl 7.35.0 (x86_64-pc-linux-gnu) libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP
不確定問題是什麼?
答案1
我找到了答案:
sudo apt-get install php7.0-curl