PDA

View Full Version : Adding to PHP 5.1.6 RPM


rhenderson
03-15-2007, 03:42 PM
Hi,

I used the php 5.1.6 rpm to upgrade my PHP. I need to add Curl with ssl. I suppose I need to do a manual recompile, I have done this from src on a ****** server but never on a ServerCP server. Any help would be apprciated.

Thanks
Randy

Jeremy
03-16-2007, 01:36 AM
http://discuss.zervex.com/showthread.php?t=775

Take a look see at that.

rhenderson
03-16-2007, 07:29 AM
Thanks, but I did that. But it puts in a generic ./configure command which does not include with-curl-ssl which I need.

Jeremy
03-16-2007, 01:53 PM
OK grab the source for php 5.1.6

install curl dev rpms (yum search *curl*)

load up a php info get the configure line add what you want.

./configure -blah
make
make test
make install

restart httpd

rhenderson
03-16-2007, 05:23 PM
Thanks, looks like it is going to work. I had to install a lot of the -devel files I guess the rpm did not originally install. But made it past the ./configure part and doing the make now. I just was not positive I could compile from src without compromising something else in ServerCP.