• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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