Current time: 12-23-2024, 06:08 PM Hello There, Guest! (LoginRegister)


Post Reply 
apache update issue with open_basedir
Author Message
mr.x Offline
Development Team
*****
Dev Team

Posts: 232
Joined: Nov 2006
Reputation: 3
Post: #1
apache update issue with open_basedir
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
12-06-2010 12:09 AM
Find all posts by this user Quote this message in a reply
BiohZn Offline


Posts: 1
Joined: Apr 2009
Reputation: 0
Post: #2
RE: apache update issue with open_basedir
ive got the same problem
12-06-2010 10:50 PM
Find all posts by this user Quote this message in a reply
mr.x Offline
Development Team
*****
Dev Team

Posts: 232
Joined: Nov 2006
Reputation: 3
Post: #3
RE: apache update issue with open_basedir
(12-06-2010 10:50 PM)BiohZn Wrote:  ive got the same problem

what kind of OS are u running?
/Mr.X
12-06-2010 10:55 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #4
RE: apache update issue with open_basedir
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.
12-06-2010 11:03 PM
Visit this user's website Find all posts by this user Quote this message in a reply
mr.x Offline
Development Team
*****
Dev Team

Posts: 232
Joined: Nov 2006
Reputation: 3
Post: #5
RE: apache update issue with open_basedir
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
12-06-2010 11:08 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: