Current time: 09-28-2024, 11:11 PM Hello There, Guest! (LoginRegister)


Post Reply 
SOLVED - Error installing Maia Mailguard
Author Message
victor531 Offline
Junior Member
*

Posts: 167
Joined: Oct 2007
Reputation: 3
Post: #6
SOLVED- Error installing Maia Mailguard
To correct this error.
Quote:Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock/:/proc/:/bin/df/:/bin/mount/:/var/log/rkhunter.log/:/var/log/chkrootkit.log/:/usr/share/php/) in /usr/share/php/System.php on line 459

edit nano /var/www/fcgi/master/php5/php.ini and search open_basedir restrictions
add the path at the end :/tmp/:/usr/etc/pear.conf/" As gOOvER said

and for this one.
Quote:Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/etc/pear.conf) is not within the allowed path(s): (/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock/:/proc/:/bin/df/:/bin/mount/:/var/log/rkhunter.log/:/var/log/chkrootkit.log/:/usr/share/php/) in /usr/share/php/PEAR/Config.php on line 625

we search the pear.conf file in etc/pear (installed per default) and then copy this to the correct directory
cp /etc/pear/pear.conf /usr/etc/
and we must restart the services - apache- maia and amavis

Thanks a lotBig Grin
07-20-2008 01:50 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
SOLVED- Error installing Maia Mailguard - victor531 - 07-20-2008 01:50 AM

Forum Jump:


User(s) browsing this thread: 4 Guest(s)