Re: FW: REALLY NEWB QUESTION - include issue

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

 



> -----Original Message-----
> From: Thijs Lensselink [mailto:dev@xxxxxxxx] 
> Sent: Tuesday, July 01, 2008 1:58 AM
> To: php-general@xxxxxxxxxxxxx
> Subject: RE:  REALLY NEWB QUESTION - include issue
> 
> Quoting TS <sunnrunner@xxxxxxxxx>:
> 
>>> Code segment?
>>> Exact error message? (Is there more context?)
>> Include (/file);
>>
>> Function.include</a>]: open_basedir restriction in effect.
>> File(/var/www/vhosts/domain/httpdocs/file.php) is not within the allowed
>> path(s): (/var/www/vhosts/differentdomain/httpdocs:/tmp) in
>> /var/www/vhosts/samedifferentdomain/httpdocs/custom-template.php on line
> 151


/var/www/vhosts/domain/httpdocs/file.php is not in the paths you allowed:

/var/www/vhosts/differentdomain/httpdocs

or

/tmp

So you'll need to adjust it through your apache config or you can
disable it just for that domain as well.

See
http://www.php.net/manual/en/configuration.changes.php#configuration.changes.apache


and

http://www.php.net/manual/en/features.safe-mode.php#ini.open-basedir


-- 
Postgresql & php tutorials
http://www.designmagick.com/

-- 
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