[SOLVED] Version 5.0.0b4 of PHP is too old...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
tsutzuku
Forum Newbie
Posts: 3
Joined: Fri Mar 19, 2004 5:41 pm

[SOLVED] Version 5.0.0b4 of PHP is too old...

Post by tsutzuku »

Hi all,

I got an error after installing Acid with php... After trying to open acid.php file, I got next problem in the browser:

PHP ERROR: Incomatible version: Version 5.0.0b4 of PHP is too old. Please upgrade to version 4.04 or later.

Anybody who can give me a hand with this issue? any clue?

Thanx i.a.

tSu
User avatar
markl999
DevNet Resident
Posts: 1972
Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)

Post by markl999 »

Line 67 of acid_db_common.php (from the latest version at http://www.andrew.cmu.edu/~rdanyliw/sno ... tacid.html) has the following code :

Code: Select all

if ( !( ($version[0] >= 4) && ( ( ($version[1] == 0) && ($version[2] >= 4) ) ||  ($version[1] > 0)  ) ) )
as a quick fix for PHP 5 you could just slap :
if($version[0] != 5) before that line above.
tsutzuku
Forum Newbie
Posts: 3
Joined: Fri Mar 19, 2004 5:41 pm

Post by tsutzuku »

Hi markl999,

I will test it ;-)

thanx a lot

tSu
tsutzuku
Forum Newbie
Posts: 3
Joined: Fri Mar 19, 2004 5:41 pm

Post by tsutzuku »

It worked fine...

See ya and thanx again

tSu
Post Reply