Page 1 of 1

upgrading php 4 to 5

Posted: Tue Aug 21, 2007 2:28 pm
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!

Posted: Tue Aug 21, 2007 2:41 pm
by feyd
Is it possible for you to upgrade the server as well? Core 1 is very old.

Posted: Tue Aug 21, 2007 3:24 pm
by nerdia
I'm too much of a chicken and not knowledgeable enough to attempt upgrading fedora.

Posted: Tue Aug 21, 2007 3:24 pm
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.