This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Install & configuration » eZ Find --- eZ Components --- PHP5.2

eZ Find --- eZ Components --- PHP5.2

eZ Find --- eZ Components --- PHP5.2

Thursday 10 July 2008 11:32:05 am - 6 replies

Good morning,

I installed eZ Find, and when I want indéxer one of my siteaccess, I get an error:

php extension/ezfind/bin/php/updatesearchindexsolr.php -s demonstrateur_ez_admin
Starting object re-indexing
Enter path to PHP-CLI executable ( or [q] to quit ) php

Fatal error: Class 'eZSolr' not found in /var/www/ezpublish/extension/ezfind/bin/php/updatesearchindexsolr.php on line 235

Fatal error: eZ Publish did not finish its request
The execution of eZ Publish was abruptly ended, the debug output is present below.

I was pointed out that my problem is related to autoloads, and I run this command, but I have another error:

bin/php/ezpgenerateautoloads.php --extension

Warning: require(Base/src/base.php): failed to open stream: No such file or directory in /var/www/ezpublish/bin/php/ezpgenerateautoloads.php on line 35
Fatal error: require(): Failed opening required 'Base/src/base.php' (include_path='.:usr/share/php:/usr/share/pear') in /var/www/ezpublish/bin/php/ezpgenerateautoloads.php on line 35

When I see --usr/share/php:/usr/share/pear-- I think, ths is a probleme with eZ Components, then I do:

pear install -a ezc/eZComponents
ezc/eZComponents requires PHP (version >= 5.2.1), installed version is 5.1.2
ezc/Archive requires PHP (version >= 5.2.1), installed version is 5.1.2
ezc/Authentication requires PHP (version >= 5.2.1), installed version is 5.1.2
No valid packages found
install failed

Then I try to update my PHP version, but I don't know why? Because in my knowledge the PHP5.2 is available in debian depot. And I in Ubuntu. There is a problem to dependance in them!

How resolve my problemes, and ez Find need ez Components?
eZ Components is the probleme?
If, Yes where are links for install PHP5.2 (or more)?

Thursday 10 July 2008 4:04:19 pm

Hi Anne,

Welcome to the club of Debian (Ubuntu) users that can't install the most recent eZ Components release. Yes, Debian has PHP 5.2 but the stable repository only has 5.2.0 with a couple of debian patches.

I encountered the same issue a couple of weeks ago and a couple of folks were kind enough to point me to Dotdeb [1]. Dotdeb provides packages for Debian stable (PHP is just one of them) so I assume they'll work on Ubuntu as well.


Thursday 10 July 2008 7:45:35 pm

Note: you should be able to use eZ Components 2007.2.1, eZ Publish 4.0 doesn't require newer version then that. And 2007.2.1 only requires PHP 5.1.1.

This will probably change with eZ Publish 4.1, but until then:

Friday 11 July 2008 9:24:13 am


There is an update of PHP5 today for ubuntu.

PHP 5.2.4-2ubuntu5.2 with Suhosin-Patch (cli) (built: Jul 3 2008 16:46:01)

Friday 11 July 2008 9:45:28 am

Hello, and thanks for your propositions!

Sorry to bother you. But I don't like installations. I do not want to do anything bad ....
I see in the others sites, a not precise guide...
How do I install eZ Components?
Once I downloaded, how I unpack the tar.bz2.tar of ezComponents 2007.2.1 ? and especially where?
In my case I installed eZ Publish in / var / www / ezpublish /
Do I need to decompress the file in folder ezpublish, or /var/www/ ?

thank you a thousand times

Friday 11 July 2008 11:58:26 am

Look in autoload.php, you will find where it tries to include ezc from ("ezc/Base/base.php"blunk.gif Emoticon.

Friday 11 July 2008 2:09:35 pm

Thanks very very much for your help!

happy.gif Emoticon
happy.gif Emoticon


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from