Ubuntu: 安装/开启Apache PHP curl模块 How to enable curl, installed Ubuntu LAMP stack?

Open SSH

  1. First Install CURL by typing sudo apt-get install curl
  2. Then Restart Apache by typing sudo service apache2 restart
  3. Then Install PHP5 CURL by typing sudo apt-get install php5-curl
  4. 如果您使用的是7.0版块,可以尝试 sudo apt-get install php7.0-curl
  5. 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?

Loading

Add a Comment

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.