Need Help getting PHP to load CURL -linux

Discussion in 'Installation/Configuration' started by Tony Savarese, Jul 25, 2006.

  1. Tony Savarese

    Tony Savarese New Member

    I have curl 7.12.0 running on my linux box.
    I have php 4.3.7 also running.
    When I do phpinfo(), curl is not recognized.
    there is no curl.so in my extensions dir.
    There is no line in php.ini for curl.so, not even commented out.
    I tried adding "extension=curl.so" to my php.ini
    I then copied libcurl.so to /usr/lib/php/extensions/curl.so
    I then restarted apache with sh /etc/rc.d/rc.httpd restart
    phpinfo() still does not show curl

    Can anyone tell me the correct way to get my version of curl running with my version of php? If you prefer to help over the phone, then contact me on my web page at www.runout.us and leave me your phone number.

    - Tony Savarese
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you install the php-curl (might be named php4-curl as well) package from your linux distribution and then restarted your apache webserver?
     
  3. Tony Savarese

    Tony Savarese New Member

    These were two separarte packages that were chosen when originally installing the linux distribution. There is not one named php-curl as one package to select.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Which Linux distribution do you use?
     

Share This Page