PHP CURL Enable Linux

后端 未结 6 1823
逝去的感伤
逝去的感伤 2020-12-02 13:43

I have some php scripts that I\'ve been running on an Apache server on a windows machine. These scripts use curl which isn\'t enabled by default in php. For windows enabli

6条回答
  •  忘掉有多难
    2020-12-02 14:11

    If it's php 7 on ubuntu, try this

    apt-get install php7.0-curl
    /etc/init.d/apache2 restart
    

提交回复
热议问题