Jump to content

PHP Include (Problem)


isnook32

Recommended Posts

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

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/148571-php-include-problem/
Share on other sites

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

 

Link to comment
https://forums.phpfreaks.com/topic/148571-php-include-problem/#findComment-780443
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.