Forums / Install & configuration / Basedir restriction

Basedir restriction

Author Message

Jan Borsodi

Monday 31 March 2003 5:34:01 am

Since so many people have had problems with basedir restrictions I want to check it out further.
Could anyone having these problems do the follow:

1. Edit index.php and place the following line somewhere at the top.
phpinfo();

2. Open the browser to your site and save the html to a file.
3. Send it to me by email: jb at ez dot no (at=@, dot=.).
4. It would be nice if you added some more information on your site, virtual host/nvh etc.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

V A Burden

Monday 31 March 2003 8:12:21 am

I had this error even though my home directory whas listed in my open_basedir & include_path. I turned debugging on and found PHP could not open files in "./lib/"

The soultion was to include my web servers root directory in my include_path.

I belive include_path can only be changed in the apache config or the php.ini file so changes to an htaccess file would have no effect.

Zeno Streich

Monday 31 March 2003 9:47:04 am

Thats the same limitation as i found out. I will try it also with the root path as a workaround.

other modules seems to use lib instead of ./lib an didn't cause any problems.

i sent out the info as requested before....