Roundcube Community Forum

 

RC 02 stable: problem with PHP-PEAR during install

Started by bbcda, February 16, 2009, 06:45:24 AM

Previous topic - Next topic

bbcda

Dear all,

it is now nearly 2 years ago that I installed Roundcube for the first time (version 0.1rc1); this version has been working quite well, except for attachment support - so I wanted to update a stable version (version 0.2), which has been released in the meantime.

However, unlike the older version, I run into big problems here; according to the Roundcube installer pages, those problems seem to originate from the (new?) dependence of Roundcube on PHP-PEAR: the installer (which says that everything else is okay) complains about several packages from the PEAR package as not being available - e.g. it reads:

Warning: include_once(PEAR.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/web118/html/rc/installer/utils.php on line 15

and then it gives the include path, which looks like this: "include_path='/var/www/web118/html/rc/program/lib:/var/www/web118/html/rc/program:/var/www/web118/html/rc/program/include:.:/usr/local/php5-cgi/lib/php'"

Since I have no experience with PHP-PEAR - and since I have messed around a lot, not knowing if I can succeed with this based on my relatively small knowledge about "modern" PHP (I have good basic knowledge, I think - but not so much about the PHP5 goodies) - please, can somebody give me a quick hint: doesn't this include-path look pathological? What does the colon (":") mean in it?
I do not understand, how PEAR is supposed to be installed on the web server, and how Roundcube shall find it (know where it is installed)? I have downloaded and installed PEAR in a directory parallel to the Roundcube folder on the web server (i.e., the PEAR and Roundcube folders are in the same directory). How is Roundcube supposed to know where it should find PEAR? How does it "construct" this weird-looking include-path? I did not find any information on this in the Setup-information for Roundcube.


It would be great if someone could give me a hint about those problems!

With kind regards - and greetings from Berlin,
Björn

rosali

What PHP version do you have on the machine? It sounds to me, that you try to run RundCube with PHP 4 while it requires PHP 5.2.x !!!
Regards,
Rosali

bbcda

Hi, Rosalie!

No, I use PHP 5.2.5 - the RC-installer also says that it is okay...

Do You have another idea?

Thank You for thinking about it and the reply anyway!

With kind regards,
Björn