[Bug 701850] [NEW] fail open_basedir in libapache2-mod-php5 5.3.3-1ubuntu9.2

Daniel Firvida 701850 at bugs.launchpad.net
Wed Jan 12 10:28:27 UTC 2011


Public bug reported:

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

** Affects: php5 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.
https://bugs.launchpad.net/bugs/701850

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



More information about the Ubuntu-server-bugs mailing list