WHM/CP internal PHP engine not compiled with curl?!

jsteel

Well-Known Member
Jul 4, 2002
646
0
166
Atlanta, GA
We're trying to add something to our cPanel theme that utilizies PHP and requires cURL. We we're shocked to find that the PHP engine that WHM/CP uses (not the one in easyapache/buildapache/etc.) does not have '--with-curl' as an option. This, of course, prevents us from adding some necessary functionality.

Does anyone know how to update the PHP engine used by WHM/CP, if it is even possible? This issue really has us in a bind.

Thx.
 

beebware

Active Member
Aug 2, 2003
34
0
156
/scripts/easyapache , select "PHP Modules" and then select "curl" and "curl ssl". It is supported!

Don't rebuild Apache from WHM as Apache tries to start itself mid-build if you do causing all sorts of trouble.