Page 1 of 1

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

Posted: Fri Mar 19, 2004 5:41 pm
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

Posted: Fri Mar 19, 2004 6:01 pm
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.

Posted: Fri Mar 19, 2004 6:03 pm
by tsutzuku
Hi markl999,

I will test it ;-)

thanx a lot

tSu

Posted: Fri Mar 19, 2004 6:24 pm
by tsutzuku
It worked fine...

See ya and thanx again

tSu