isnook32 Posted March 9, 2009 Share Posted March 9, 2009 Hi, I've got a server running CentOs 5, PHP 5.2. I am trying to install Roundcube mail. I've almost got it working, but i had to install PEAR, which I have done with success - but I keep getting the errors below... I am sure the paths are correct... could anybody give me adice on where to look as I am out of ideas! Thanks in advance.. ERRORS ====================> Warning: include_once(PEAR.php) [function.include-once]: failed to open stream: No such file or directory in /home/default/webmail/user/htdocs/installer/utils.php on line 14 Warning: include_once() [function.include]: Failed opening 'PEAR.php' for inclusion (include_path='/home/default/webmail/user/htdocs/program/lib:/home/default/webmail/user/htdocs/program:/home/default/webmail/user/htdocs/program/include:.:/etc/PEAR') in /home/default/webmail/user/htdocs/installer/utils.php on line 14 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 /home/default/webmail/user/htdocs/installer/utils.php on line 14 Warning: include_once() [function.include]: Failed opening 'MDB2.php' for inclusion (include_path='/home/default/webmail/user/htdocs/program/lib:/home/default/webmail/user/htdocs/program:/home/default/webmail/user/htdocs/program/include:.:/etc/PEAR') in /home/default/webmail/user/htdocs/installer/utils.php on line 14 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 /home/default/webmail/user/htdocs/installer/utils.php on line 14 Warning: include_once() [function.include]: Failed opening 'Net_SMTP.php' for inclusion (include_path='/home/default/webmail/user/htdocs/program/lib:/home/default/webmail/user/htdocs/program:/home/default/webmail/user/htdocs/program/include:.:/etc/PEAR') in /home/default/webmail/user/htdocs/installer/utils.php on line 14 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 /home/default/webmail/user/htdocs/installer/utils.php on line 14 Warning: include_once() [function.include]: Failed opening 'Mail/mime.php' for inclusion (include_path='/home/default/webmail/user/htdocs/program/lib:/home/default/webmail/user/htdocs/program:/home/default/webmail/user/htdocs/program/include:.:/etc/PEAR') in /home/default/webmail/user/htdocs/installer/utils.php on line 14 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 Quote Link to comment Share on other sites More sharing options...
JonnoTheDev Posted March 9, 2009 Share Posted March 9, 2009 Add this to the top of the script. Ammend the path to PEAR set_include_path(get_include_path().PATH_SEPARATOR.'/usr/share/pear/'); Quote Link to comment Share on other sites More sharing options...
isnook32 Posted March 9, 2009 Author Share Posted March 9, 2009 That Worked, a step further and I have this problem.: main.inc.php: OK db.inc.php: OK Check if directories are writable RoundCube may need to write/save files into these directories temp/: OK logs/: OK Check configured database settings DSN (write): OK DB Schema: OK Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/etc/PEAR/MDB2/Driver/Datatype/mysql.php) is not within the allowed path(s): (/tmp:/home/default/webmail) in /home/default/webmail/user/htdocs/pear/PEAR/MDB2.php on line 963 DB Write: OK DB Time: OK Test SMTP settings Server: PHP mail() Port: 25 Quote Link to comment Share on other sites More sharing options...
JonnoTheDev Posted March 9, 2009 Share Posted March 9, 2009 Are you on a shared server? Read the following: http://www.sixapart.com/movabletype/kb/dynamic/open_basedir_re.html Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.