November 29, 2017
Ubuntu: 安装/开启Apache PHP curl模块 How to enable curl, installed Ubuntu LAMP stack?
![Ubuntu: 安装/开启Apache PHP curl模块 How to enable curl, installed Ubuntu LAMP stack?](https://justcode.ikeepstudying.com/wp-content/themes/ribbon-lite/images/nothumb-featured.png)
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/ques… Read More