Install Wizard fata error

Author Message

Ken White

Thursday 20 July 2006 1:43:53 pm

Tried to initiate the wizard through, http://192.168.1.30/essexnet/index.php. Browser returned the following error.

Fatal error: Call to undefined function: file_get_contents() in SYS:/Apache2/htdocs/EssexNet/lib/eztemplate/classes/eztemplatefileresource.php on line 236

Environment: Apache 2 web server

PHP staement added to conf file:
####Added for PHP 4 7/13/06 KEW ####
include sys:/apache2/conf/mod_php.conf

I don't have experience in this area and will appreciate any insight.

Łukasz Serwatka

Thursday 20 July 2006 11:12:05 pm

Hello Ken, and Welcome to the eZ publish Community!

file_get_contents() is not available in your system. Either your PHP version is too old or system administrator disable it (php.ini).

Look on the requirements page for eZ publish:
http://ez.no/products/ez_publish/info/requirements_for_ez_publish

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Ken White

Friday 21 July 2006 5:49:13 am

PHP is Version 4.2.4-dev want section of the php.ini would enable the functionality?

Łukasz Serwatka

Friday 21 July 2006 6:04:14 am

Unfortunately your PHP version is too low. file_get_contents is available >= 4.3.0. It is highly recommend to upgrade your PHP to the latest version (4.4.2 currently).

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Ken White

Friday 21 July 2006 12:44:47 pm

Netware 6.5 delivers PHP 5.0 with server install and PHP 5.0 is the ver. now in place. When I open a browser session to a the install wizard the browser displays the .php text file and does not initiate the wizard. What should I investigate, Apache conf or PHP.ini?

Thanks

Stian Lindhom

Sunday 23 July 2006 5:45:22 am

EZ Publish 3.x don't support PHP 5, you should use PHP 4.4.x. Your apache needs to be setup to handle php files via the PHP module, something like this:

AddType application/x-httpd-php .php

You can find more information about this at http://www.php.net/manual/en/install.unix.php

Ken White

Tuesday 25 July 2006 3:25:30 pm

Stian,

I've downloaded the php-4.4.2 zip file, expanded the contents into the php dir. on the sys: volume. I've also reviewed the php install instruction document which is informative for many NOS's expect Netware. The current Apache conf files doesn't have the sections described in the Unix sections of the php 4 install instructions. Are there more Netware specific instructions available somewhere?

Ken

Łukasz Serwatka

Tuesday 25 July 2006 11:25:45 pm

Yes it is. See this page:
http://developer.novell.com/wiki/index.php/PHP_for_NetWare

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Ken White

Wednesday 26 July 2006 10:23:14 am

Thanks for the link to the php instruction. However I'm still encountering a couple of problems. I added the search paths at the server console. I made the modifications in the Apache conf file. Apache would not load successfully, PHP 4.4.2 does not provide the nlm's required in mod_php.conf called in the Apache conf.

include sys:/apache/conf/mod_php.conf

Łukasz Serwatka

Wednesday 26 July 2006 11:07:25 pm

Ken, I suggest to ask those questions on the Novell NetWare dedicated forums, or use Novell support. This is related to the OS environment mostly. If possible I would recommend to use Linux for the best performance and stability for eZ publish.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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