fail open_basedir in libapache2-mod-php5 5.3.3-1ubuntu9.2

Bug #701850 reported by Daniel Firvida
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
php5 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: php5

In the last security update of libapache2-mod-php5, the directive open_basedir don't work correctly, the directory-tree definition don't work as describe in http://php.net/manual/en/ini.core.php#ini.open-basedir

The error log:

[Wed Jan 12 08:56:57 2011] [error] [client 79.148.124.X] PHP Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0
[Wed Jan 12 08:56:57 2011] [error] [client 79.148.124.X] PHP Fatal error: Unknown: Failed opening required '/var/www/myvhost/index.php' (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0
[Wed Jan 12 08:56:58 2011] [error] [client 79.148.124.X] PHP Warning: Unknown: open_basedir restriction in effect. File(/var/www/myvhost/index.php) is not within the allowed path(s): (/var/www/) in Unknown on line 0

The directory-tree /var/www/ include /var/www/myvhost/ and don`t work correctly.

Thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.