Web Hosting Talk







View Full Version : upgrading to php 4.1.2


jdulberg
03-06-2002, 05:59 PM
Rackspace just added the security patch to our version of PHP (4.0.6) and mentioned that if I wanted, they could upgrade to 4.1.2 for a $75 fee.

I was wondering if it would be worthwhile for me to upgrade? Will I have to adjust any of my existing php files to work with the newer version?

The Prohacker
03-06-2002, 06:10 PM
No.. You won't have to change any of your files....


PHP 4.1.2 has a large security patch that you really need..... I wouldn't pay $75 for it, since its very easy to upgrade PHP.....

Starhost
03-06-2002, 07:02 PM
A PHP upgrade can be done in a few minutes and isn't worth $ 75,= You can do it yourself with a howto (use the search for one) to install the latest PHP version.

Further more, you don't need to change your scripts as php 4.1.2 is compactible with php 3+

jdulberg
03-06-2002, 07:19 PM
I figured as much... Installed gzip a while ago but can't remember how I did it.

Here's what's at the top of my phpinfo()


'./configure' '--prefix=/usr' '--with-config-file-path=/etc' '--disable-debug' '--enable-pic' '--enable-shared' '--enable-inline-optimization' '--with-apxs=/usr/sbin/apxs' '--with-exec-dir=/usr/bin' '--with-regex=system' '--with-gettext' '--with-gd' '--with-jpeg-dir=/usr' '--with-png' '--with-zlib' '--with-gdbm' '--enable-debugger' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-yp' '--enable-ftp' '--enable-wddx' '--without-mysql' '--without-oracle' '--without-oci8' '--with-xml'


I did a search in this forum but couldn't find the correct info. I suppose I might have searched for the wrong things.

I'm assuming that upgrading won't cause any problems with my mysql install... correct?

I've been thinking of installing ImageMagick as well but that's another story.

Any help is appreciated.

Starhost
03-06-2002, 07:37 PM
See:

http://www.webhostingtalk.com/showthread.php?s=&threadid=20635&highlight=install+php

http://vbulletin.com/forum/showthread.php?s=&threadid=6954&highlight=mysql+raq3

TomK
03-07-2002, 12:10 AM
If you use Redhat rpms, they fixed the security problems discovered and released 4.0.6-12.

So even though it is in the 4.06 tree, it is still patched.

Of course you don't have all the features of 4.1x.

Redhat is funny like that, they do it with mysql too.

tjk