Roundcube Community Forum

 

PHP.Pear not found

Started by jmp51483, July 06, 2010, 11:44:39 AM

Previous topic - Next topic

jmp51483

Hey guys,

First off, I apologize for the long post. Having a bit of a weird issue that I was hoping to get some direction with. Recently I've tried installing the new version of Roundcube 0.3 onto my ubuntu 9.04 server and I am running into some issues. Below you will see the check installation page for Roundcube, and unfortunately it's telling me that it can not find Pear. I have set the include path in my php.ini file to be /usr/share/php where the PEAR.php and other files are located without luck.

   Is there something that I am missing? This fails both on version 2 and version 3 of Roundcube, however version 1.1 works perfectly as I have been using it for quite awhile.

Thanks!

Checking PHP version
Version:  OK(PHP 5.2.10-2ubuntu6.4 detected)
Checking PHP extensions

The following modules/extensions are required to run RoundCube:
PCRE:  OK
DOM:  OK
Session:  OK

The next couple of extensions are optional but recommended to get the best performance:
FileInfo:  NOT AVAILABLE(See http://www.php.net/manual/en/ref.fileinfo.php)
Libiconv:  OK
Multibyte:  OK
OpenSSL:  OK
Mcrypt:  OK
GD:  OK
Checking available databases

Check which of the supported extensions are installed. At least one of them is required.
MySQL:  OK
MySQLi:  OK
PostgreSQL:  NOT AVAILABLE(Not installed)
SQLite (v2):  NOT AVAILABLE(Not installed)
Check for required 3rd party libs

This also checks if the include path is set correctly.

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

Warning: include_once() [function.include]: Failed opening 'PEAR.php' for inclusion (include_path='/var/www/clients/client2/web14/web/webmail/program/lib:/var/www/clients/client2/web14/web/webmail/program:/var/www/clients/client2/web14/web/webmail/program/include:/usr/share/php') in /var/www/clients/client2/web14/web/webmail/installer/utils.php on line 15
PEAR:  NOT OK(Failed to load PEAR.php; See http://pear.php.net)

Warning: include_once(MDB2.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/clients/client2/web14/web/webmail/installer/utils.php on line 15

Warning: include_once() [function.include]: Failed opening 'MDB2.php' for inclusion (include_path='/var/www/clients/client2/web14/web/webmail/program/lib:/var/www/clients/client2/web14/web/webmail/program:/var/www/clients/client2/web14/web/webmail/program/include:/usr/share/php') in /var/www/clients/client2/web14/web/webmail/installer/utils.php on line 15
MDB2:  NOT OK(Failed to load MDB2.php; See http://pear.php.net/package/MDB2)

Warning: include_once(Net_SMTP.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/clients/client2/web14/web/webmail/installer/utils.php on line 15

Warning: include_once() [function.include]: Failed opening 'Net_SMTP.php' for inclusion (include_path='/var/www/clients/client2/web14/web/webmail/program/lib:/var/www/clients/client2/web14/web/webmail/program:/var/www/clients/client2/web14/web/webmail/program/include:/usr/share/php') in /var/www/clients/client2/web14/web/webmail/installer/utils.php on line 15
Net_SMTP:  NOT OK(Failed to load Net/SMTP.php; See http://pear.php.net/package/Net_SMTP)

Warning: include_once(Mail/mime.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/clients/client2/web14/web/webmail/installer/utils.php on line 15

Warning: include_once() [function.include]: Failed opening 'Mail/mime.php' for inclusion (include_path='/var/www/clients/client2/web14/web/webmail/program/lib:/var/www/clients/client2/web14/web/webmail/program:/var/www/clients/client2/web14/web/webmail/program/include:/usr/share/php') in /var/www/clients/client2/web14/web/webmail/installer/utils.php on line 15
Mail_mime:  NOT OK(Failed to load Mail/mime.php; See http://pear.php.net/package/Mail_mime)
iilConnection:  OK
Checking php.ini/.htaccess settings
file_uploads:  OK
session.auto_start:  OK
zend.ze1_compatibility_mode:  OK
mbstring.func_overload:  OK

SKaero

You have a problem with using PHP set_include_path() function, do you have root access to your server?

pvp882000

Pls. hellp! I have same problem. And i have root access to my server. So what i need to do?

JohnDoh

the include path settings for jmp51483 look ok to me, may be the files are just missing. the include path has to include [rc root]/program/include, program/ and program/lib and in the lib dir you should have files like PEAR.php and MDB2.php. If you dont have them then i'd guess you downloaded the GPL (dependent) version of RC and not the full one but you dont have the external libs installed seperatly so you really need the full one.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...