ispCP - Board - Support
open_basedir problem ! - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: open_basedir problem ! (/thread-499.html)

Pages: 1 2 3


open_basedir problem ! - Eminos - 05-08-2007 12:21 AM

Hi,

I'm still using VHCS2 in the wait for a good update script.
Recently (I guess after some updates) I started having this open_basedir restriction in effect.
It appears in lot of places, and I hope there is one simple solution for this problem.

I read that this problem was to hardcoded stuff in PHP5, ok, so what is the solution?

Using:
Latest PHP5
Latest Apache2.2
Debian Sarge

I hope you guys know this Wink

Thanks..

/E


RE: open_basedir problem ! - ephigenie - 05-08-2007 12:38 AM

you mean the ftp-rawlist problem ?
where does this occur in vhcs2 ?


RE: open_basedir problem ! - Eminos - 05-08-2007 12:59 AM

I sent a PM to you with the URLs where I could find this problem.

/E


RE: open_basedir problem ! - Eminos - 05-10-2007 06:28 AM

Anything new on this Malte ?

/E


RE: open_basedir problem ! - ephigenie - 05-11-2007 02:04 AM

yeah i wrote several times now in the tracker & forum that this depends on failures in php versions.

On debian it got fixed in newer Versions (my experience so far).
It seems to resist on ubuntu distributions and maybe gentoo.

A solution is getting a php version where the system temp dir is not hardcoded and thus different from the phptmp - or add /tmp to the list of allowed dirs in the openbasedir setting in your php.ini .


RE: open_basedir problem ! - Eminos - 05-11-2007 05:29 AM

It doesn't help.
This is what I get:
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/var/www/virtual/boshosting.net/htdocs/..) is not within the allowed path(s): (/var/www/virtual/boshosting.net/:/usr/share/php/:/tmp/) in /var/www/virtual/boshosting.net/htdocs/diagnostics.php on line 267

Very wierd.
And as I said I'm already running latest PHP (5.2.0-10) on Debian Sarge.

/E


RE: open_basedir problem ! - joximu - 05-11-2007 06:22 AM

You're right - it's strange
the file seems to be underneath the

Maybe try to disable open_basedir - only temporary of course...
just to see if that really is the point


RE: open_basedir problem ! - Eminos - 05-11-2007 06:23 AM

How do I turn it of ?

/E


RE: open_basedir problem ! - joximu - 05-11-2007 06:29 AM

for every domain there are php.ini files situated under
/var/www/fcgi/<domain>/php4|5/php.ini
domain "master" is ispcp itself.

I think you should find the right php.ini in:
/var/www/fcgi/boshosting.net/php4/php.ini
and there is a line open_basedir...
(after commenting, restart apache)


RE: open_basedir problem ! - Eminos - 05-11-2007 06:32 AM

Hmm, maybe I forgot to say I'm still running VHCS2 Sad
I don't have that fcgi folder.

/E