1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    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

    Nov 11, 2003
    Likes Received:
    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


    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.