>>>> [06-Feb-2005 10:07:49] PHP Warning: main(): open_basedir restriction >>>> in >>>> effect. File(../functions/strings.php) is not within the allowed >>>> path(s): >>>> (.:/tmp:/var/www/phpMyAdmin:/home/httpd/vhost/benoit) in >>>> /usr/share/squirrelmail/src/login.php on line 19 > >>> Check your php.ini file, there is a setting that is limiting which >>> directories are allowed to be accessed (open_basedir). > >> It must be somewhere else because open_basedir isn't set... :( > > There is a possibility it could be set using a .htaccess file, or in > httpd.conf as a php_value key. There are a few places it could be set, so > you'll have to do some snooping around.
safe_mode and open_basedir are set with php_admin_flag and php_admin_value. They are changeable at PHP_INI_SYSTEM level and can't be used in .htaccess. (http://www.php.net/ini-set) Purpose of these keys is to limit user options and .htaccess is controled by user. Check phpinfo(). If open_basedir option is global - it should set in php.ini or in included php.ini files. If option is local - it should be set in webserver's config with php_admin_value. -- Tomas ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click -- squirrelmail-users mailing list Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines List Address: squirrelmail-users@lists.sourceforge.net List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users