Login    Forum    Search    FAQ   Blog

Board index » Server Side Development » PHP




 Page 1 of 1 [ 3 posts ] 



Author Message
 Post subject: Recompilin the PHP that was installed 4m a RPM package?
 Post Posted: Thu Nov 19, 2009 8:41 pm 
Offline

Joined: Sat Feb 21, 2009 12:35 pm
Posts: 52
I need to recompile an existing PHP installation, but the PHP was
installed from RPM package.

Is it possible to recompile such RPM-installed PHP? And if that's the
case, what things should I anticipate? What potential problems I'm
going to face?

I'm quite familiar in compiling from scratch, but I have never
re-compiled anything before. I'm also unfamiliar with RPM. Should
I use the usual ./make and /make install command, or should I use
RPM instead? Can RPM recompile things?


Top 
 Post subject: Re: Recompilin the PHP that was installed 4m a RPM package?
 Post Posted: Thu Nov 19, 2009 8:41 pm 
Offline

Joined: Sat Feb 21, 2009 11:06 am
Posts: 1794
There are two kinds of RPM packages - installable binary
packages (.rpm) that do not contain the source code but only
compiled binaries/libraries/etc and source rpm packages (.src.rpm)
that are used to build binary packages. You need the latter to be
able to recompile anything. Refer to this page for a little more
in-depth introduction: http://www.rpm.org/max-rpm/s1-rpm-misce ...
srpms.html


Top 
 Post subject: Re: Recompilin the PHP that was installed 4m a RPM package?
 Post Posted: Thu Nov 19, 2009 8:42 pm 
Offline

Joined: Sat Feb 21, 2009 12:35 pm
Posts: 52
Thanks, . By the way, I skimmed through the pages, but
there's still one thing I haven't found yet:

Does the existing PHP installation need to be installed from source
RPM to be able to recompiled? What if the existing PHP was installed
from compiled binary RPM? Can I just download the source RPM
elsewhere (of the same version, of course), and then compile
it over the existing PHP installation?


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 3 posts ] 




Board index » Server Side Development » PHP


Who is online

Users browsing this forum: No registered users and 1 guest

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron