Re: open_basedir restriction in effect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le jeudi 24 avril 2008 à 15:35 -0700, Richard Kurth a écrit :
> *I keep getting this warning when I try run my script that I what to 
> look at the data in the mailbox for bounced email
> 
> Warning*: opendir() [function.opendir 
> <http://easycontactpro.com/function.opendir>]: open_basedir restriction 
> in effect. 
> File(/var/qmail/mailnames/easycontactpro.com/bounce/Maildir/new) is not 
> within the allowed path(s): 
> (/var/www/vhosts/easycontactpro.com/httpdocs:/tmp)
> 
> 
> I have set open_basedir 
> ="/var/qmail/mailnames/easycontactpro.com/bounce/Maildir/new" in the 
> php.ini file and restarted apache.
> 
> How can I look at the files in this directory

Hi Richard,

Any chance you would have a virtual host configuration or some part of
your scripts that redefine the open_basedir?

I would put some logging in the middle with ini_get('open_basedir'); and
see if it changes sometime between the first line of your script and the
location where the error above appears.

Yannick


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux