1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

How to compile PHP for Plesk with CURL

Discussion in 'Plesk for Linux - 8.x and Older' started by eugenevdm, Mar 17, 2005.

  1. eugenevdm

    eugenevdm Silver Pleskian

    30
    68%
    Joined:
    Nov 11, 2003
    Messages:
    611
    Likes Received:
    0
    My customer is using CURL in his web page and he gets the following error:

    Fatal error: Call to undefined function: curl_init()

    I've done some research on this forum and it appears that I have to compile PHP with CURL support. I have absolutely no idea how to do this and would appreciate any help on this matter. I'm scared to break Plesk or PHP. I'm using SuSE 9.1 if that makes any difference.
     
  2. Mani-Web

    Mani-Web Guest

    0
     
    Hi,

    I suggest you to not compile Curl. I remember we did this some time ago on Plesk 6 Server and it broke PHP. The only solution was to move all the customers on a different box and reinstall everything!

    However, which PHP version are you using? Because, if you have PHP 4.3.10, Curl should be already compiled.

    If you have PHP < 4.3.10, I suggest you to upgrade it to the latest version instead of compiling Curl.

    -DS
     
Loading...