Does rebuilding PHP from source rewrite config?

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Does rebuilding PHP from source rewrite config?

Post by RobertGonzalez »

If I were to rebuild my PHP installation from source with an added flag, would it rewrite the current complement of config flags that are in PHP? Does the fact that the current PHP install comes from the default Fedora Core installation have any potential impact on this?

I ask this because I literally need to know the possible outcome before doing it. Someone placed a production app on this test server before consulting us and if we blow up the test environment we blow up the production app (I know, that was a stupid thing to do, but hey, it's too late to fix that at the moment).
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

From my understanding, it won't overwrite any config files because they aren't there immediately after normal builds from what I've seen. If anything, it will overwrite the php.ini-recommended or whatever it's called.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

A backup is a good idea anyway.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Yeah, I am in the middle of that now. If I haven't mentioned it today, I hate Sybase. And anything Sybase related, especially if it is in conjunction with PHP. I need a beer.
Post Reply