Unsupported PHP version

Author Message

Carl Petter Fiskaaen

Thursday 22 January 2009 3:54:18 am

Hello.
I'm on a Linux machine and have installed PHP 5 and Apache 2. The problem that occours when I'm going to try the index.php file is this message:
"Unsupported PHP version " . phpversion() .
eZ Publish 4.x does not run with PHP 4."

Yet again PHP 5 is installed, so I don't understand why that error would come.
Any suggestions would be nice.

André R.

Thursday 22 January 2009 4:32:12 am

Either php is not activated correctly* or you are using php 4 and you should see a parse error from php if you enable error reporting because php 4 does not support class constants as used by eZ Publish 4.

* If it was correctly activated / loaded as apache module, then the actually php version would have been shown and not 'phpversion()' IF you indeed have the wrong php version.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Carl Petter Fiskaaen

Thursday 22 January 2009 7:00:54 am

Thanks for the answer. Yeah, I found that PHP wasn't communicating with Apache and also a package that wasn't needed, but problem is now solved thanks to some help from experts in this field.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.