Forums / Install & configuration / Errors with udpate scripts eZ publish 4.0
Fabrice Girardot
Friday 14 December 2007 12:04:39 am
Hi,
When I try to run the updates script, it failed:
$ php5 update/common/scripts/4.0/updatebinaryfile.php -s en X-Powered-By: PHP/5.1.6 Content-type: text/html <br /> <b>Warning</b>: require(autoload.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in <b>/home/ungassh/www2/new/update/common/scripts/4.0/updatebinaryfile.php</b> on line <b>30</b><br /> <br /> <b>Warning</b>: require(autoload.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in <b>/home/ungassh/www2/new/update/common/scripts/4.0/updatebinaryfile.php</b> on line <b>30</b><br /> <br /> <b>Fatal error</b>: require() [<a href='function.require'>function.require</a>]: Failed opening required 'autoload.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in <b>/home/ungassh/www2/new/update/common/scripts/4.0/updatebinaryfile.php</b> on line <b>30</b><br />
I think it is a server side issue, but I should need a good advise to know what I should ask to the server support team. If somebody have an idea, welcome :)
All the best,
Fabrice
-- Fabrice
Ćukasz Serwatka
Friday 14 December 2007 12:41:33 am
You have to run PHP5-CLI binary not PHP5 cgi-fcgi.
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog
Friday 14 December 2007 5:56:04 am
Thank you very much! It works fine :)
My best,
Jeroen Sangers
Friday 14 December 2007 10:48:22 am
According to the eZ Publish requirements list (http://ez.no/ezpublish/requirements), PHP CLI is not required; however without PHP CLI you can't run the upgrade script.
In other words, eZ Publish can be installed if you have PHP CGI, but you won't be able to update to newer versions. This is a severe limitation that in my opinion justifies mentioning PHP CLI as required.
Gaetano Giunta
Saturday 15 December 2007 5:09:05 am
PHP cli is pretty much a requirement for any installation, as you will need it to run eZ Publish cronjobs, and there are many of those that a standard installation needs
Principal Consultant International Business Member of the Community Project Board