upgrading php 4 to 5

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
nerdia
Forum Newbie
Posts: 2
Joined: Tue Aug 21, 2007 2:26 pm

upgrading php 4 to 5

Post by nerdia »

Hello,

I need to upgrade php 4 to php 5 on a server (fedora 1 core I think) and am trying to make sure I do this right on the first try as i have very little room for error (live server).

I haven't ever done this before, and I was reading that you need to manually use the ./configure --with-mysql to install mysql.

My question is, can i just copy the current configure command that is provided from my phpinfo() on my current version of php4 and use that to configure php5 before installation?

Thanks in advance for the help!
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Is it possible for you to upgrade the server as well? Core 1 is very old.
nerdia
Forum Newbie
Posts: 2
Joined: Tue Aug 21, 2007 2:26 pm

Post by nerdia »

I'm too much of a chicken and not knowledgeable enough to attempt upgrading fedora.
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Post by VladSun »

1. feyd has already said it - your Linux distribution is too old.
2. You may use VMware (or other VM software) to have an "offline" try prior doing it on a production server.
There are 10 types of people in this world, those who understand binary and those who don't
Post Reply