• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

How to compile PHP for Plesk with CURL

eugenevdm

Regular Pleskian
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.
 
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
 
Back
Top