PHP CURL Enable Linux

后端 未结 6 1821
逝去的感伤
逝去的感伤 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:06

    I used the previous installation instruction on Ubuntu 12.4, and the php-curl module is successfully installed, (php-curl used in installing WHMCS billing System):
    sudo apt-get install php5-curl
    sudo /etc/init.d/apache2 restart

    By the way the below line is not added to /etc/php5/apache2/php.ini config file as it's already mentioned: extension=curl.so

    In addition the CURL module figures in http://localhost/phpinfo.php
    Best,

提交回复
热议问题