Recompiling PHP to support CURL...

mitul

Well-Known Member
Feb 8, 2003
291
0
166
How do I recompile PHP to support curl on my server?

Thank you,
 

Robert_

Well-Known Member
Apr 26, 2002
89
0
316
Arizona
/scripts/easyapache


select the advanced option

then select curl
 

KenMaier

Member
Nov 5, 2002
23
0
151
I ran /scripts/easyapache and I do not see an option for CURL. Does this advanced menu change depending on what might be installed on the server?

How do I find the CURL option?
 

furquan

Well-Known Member
Jul 27, 2002
473
4
168
1 usefull info @ php.net/curl

2 if you do not have curl compiled in php you can use it with backtick and exec but there some additional considerations

3 If you have curl already installed look at 1 to see how to include it in php

4 on cpanel box there is cgi version of php compiled with the same options as the module, so you can see what is compiled in by doing php -m on shell prompt

5 on CPanel box, there is /scripts/easyapache script that will include any module, including curl in your php. simply run /scripts/easyapache and when prompted select "5 advanced" . then select "PHP module" and then select desired modules there (curl and curl-ssl will be there)

6 hope 1 - 5 helps
 

KenMaier

Member
Nov 5, 2002
23
0
151
Thanks, suggestion #5 was it. I feel like an idiot -- I did not realize that was a menu option and skipped right over it when running /scripts/easyapache