Verified and Tested 03/1/16 Introduction In this How-To, we…
November 29, 2017
Ubuntu: 安装/开启Apache PHP curl模块 How to enable curl, installed Ubuntu LAMP stack?
Open SSH
- First Install CURL by typing
sudo apt-get install curl
- Then Restart Apache by typing
sudo service apache2 restart
- Then Install PHP5 CURL by typing
sudo apt-get install php5-curl
- 如果您使用的是7.0版块,可以尝试
sudo apt-get install php7.0-curl
- Then Restart Apache by typing
sudo service apache2 restart
Done!
更多可以参考:https://stackoverflow.com/questions/2939820/how-to-enable-curl-installed-ubuntu-lamp-stack
本文:Ubuntu: 安装/开启Apache curl模块 How to enable curl, installed Ubuntu LAMP stack?