Forums / Install & configuration / Fatal error, when installing ez publish 3.9

Fatal error, when installing ez publish 3.9

Author Message

Fátima Chapri

Thursday 11 January 2007 12:01:52 pm

When trying to instal ez publish 3.9, i searched for a boundle with the versions of php, My Sql, and Apache that was compatible with ez publish, because i can't integrate this all together. Finally, I found the <b>phpdev</b> with the following:
* apache 1.3.27
* php4.2.3
* MySQL4
* phpmyadmin 2.3.2
* Invision Board
* PhpWebsite

Than, i copied the ez publish 3.9 package on to a folder (named www) inside the phpdev folder.

After activating the Apache server, i tried to acces the ez publish site that i created in my local network, by the folowing adress: http://localhost/ez, and I got the following error:

Fatal error: Call to undefined function: file_get_contents() in c:\phpdev\www\ez\lib\eztemplate\classes\eztemplatefileresource.php on line 236
Fatal error: eZ publish did not finish its request

The execution of eZ publish was abruptly ended, the debug output is present below.

Do anyone know what did happen, and how can I fix this?

Matthew Carroll

Thursday 11 January 2007 9:34:33 pm

file_get_contents() is only available in php >= 4.3.0, which is why you see this error.

http://www.php.net/file_get_contents

Moreover, eZpublish actually requires php 4.4, with the latest (4.4.4) being recommended. See the requirements section in the installation instructions:

http://ez.no/doc/ez_publish/technical_manual/3_8/installation/normal_installation/requirements_for_doing_a_normal_installation

You need to upgrade, or find a different host.

Matthew

http://carroll.org.uk

Fátima Chapri

Saturday 13 January 2007 9:56:20 am

Thanks for the help Mathew.
I think I will have to install Apache, Mysql and PHP sepretlly, once I can't find any boundle with the ez Publish requirements.

Fátima