ispCP - Board - Support
apache update issue with open_basedir - 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: apache update issue with open_basedir (/thread-12354.html)



apache update issue with open_basedir - mr.x - 12-06-2010 12:09 AM

Hi all,

may be some out there with the same issue.

After an update of my debian lenny system running with ispcp no acsess to the virtual hosts are possible anymore.

I did an apt-get update with the following output:
Code:
[...]
Preparing to replace apache2 2.2.16-3 (using .../apache2_2.2.16-4_amd64.deb) ...
Unpacking replacement apache2 ...
Preparing to replace apache2-mpm-worker 2.2.16-3 (using .../apache2-mpm-worker_2.2.16-4_amd64.deb) ...
Stopping web server: apache2 ... waiting ..
Unpacking replacement apache2-mpm-worker ...
Preparing to replace apache2.2-common 2.2.16-3 (using .../apache2.2-common_2.2.16-4_amd64.deb) ...
Unpacking replacement apache2.2-common ...
Preparing to replace apache2.2-bin 2.2.16-3 (using .../apache2.2-bin_2.2.16-4_amd64.deb) ...
Unpacking replacement apache2.2-bin ...
Preparing to replace apache2-utils 2.2.16-3 (using .../apache2-utils_2.2.16-4_amd64.deb) ...
Unpacking replacement apache2-utils ...
Preparing to replace apache2-suexec 2.2.16-3 (using .../apache2-suexec_2.2.16-4_amd64.deb) ...
Unpacking replacement apache2-suexec ...
[...]
Setting up apache2.2-bin (2.2.16-4) ...
Setting up apache2-utils (2.2.16-4) ...
Setting up apache2.2-common (2.2.16-4) ...
Installing new version of config file /etc/apache2/mods-available/reqtimeout.conf ...
Installing new version of config file /etc/apache2/conf.d/security ...
Setting up apache2-mpm-worker (2.2.16-4) ...
Starting web server: apache2.
Setting up apache2 (2.2.16-4) ...
Setting up apache2-suexec (2.2.16-4) ...

after this I am always getting this kind of open_basedir errors

Code:
Warning: include() [function.include]: open_basedir restriction in effect. File(/var/www/virtual/***.de/htdocs/config.inc.php) is not within the allowed path(s): (/var/www/virtual/***.de/:/usr/share/php/) in /var/www/virtual/***.de/htdocs/index.php on line 6

Warning: include(/var/www/virtual/***.de/htdocs/config.inc.php) [function.include]: failed to open stream: Operation not permitted in /var/www/virtual/***.de/htdocs/index.php on line 6

for all hosted domains !

Any one with an idea?

BR
Mr.X


RE: apache update issue with open_basedir - BiohZn - 12-06-2010 10:50 PM

ive got the same problem


RE: apache update issue with open_basedir - mr.x - 12-06-2010 10:55 PM

(12-06-2010 10:50 PM)BiohZn Wrote:  ive got the same problem

what kind of OS are u running?
/Mr.X


RE: apache update issue with open_basedir - kilburn - 12-06-2010 11:03 PM

I think you're actually using debian squeeze and hitting this open_basedir bug. A temporary workaround is to completely disable (by commenting out) open_basedir for all your php.ini files.


RE: apache update issue with open_basedir - mr.x - 12-06-2010 11:08 PM

Hi kilburn,

(12-06-2010 11:03 PM)kilburn Wrote:  I think you're actually using debian squeeze and hitting this open_basedir bug. A temporary workaround is to completely disable (by commenting out) open_basedir for all your php.ini files.

thanks for your hint !

Quote:On 11/30/2010 03:23 PM, Ondřej Surý wrote:
> Could you try 5.3.3-5 from:
>
> deb http://ppa.sury.org/debian/ unstable main
>
> Ondrej

5.3.3-5 is working for me.

is an intermediate solution !
I don't like it to deactivate open_basedir in generell .-)

BR
Mr.X