How do I recompile PHP?

Hello,
A little background first. I have the need for an xml feed from an https url. PHP won't handle https w/ a base install, so i was told to try the cURL Library, but it needs php to be recompiled with --with-curl[=DIR] where DIR is the location of the directory containing the lib and include directories acording to the link above. It also needs OpenSSL as a dependency, which i dunno if this means another recompile parameter. I'm running php 4.3 on CentOS.

So how do i recompile php? How long will the website be down for? Where is php even located typically?


i'm worried that i'm gonna mess up the recompile, and i won't be able to get the site back up again....i'm thinking maybe i should just run a script locally to get the feed, then upload the results each week How do I recompile PHP?

Thanks for any help,
WeezelDS

 

 

 

 

Top