phpgroupware-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[phpGroupWare-users] Problem with open_basedir in apache's configuration


From: Olivier Berger
Subject: [phpGroupWare-users] Problem with open_basedir in apache's configuration
Date: Wed, 26 Mar 2008 17:08:37 +0100

Hi.

I tried to set "open_basedir" in the apache config so that for
phpgroupware the value restricts to the "right" dirs as suggested in
http://docs.phpgroupware.org/html/phpgw-apache.conf.html .

However, when I set something like :
  php_value open_basedir 
/usr/share/phpgroupware:/var/lib/phpgroupware/files:/var/lib/phpgroupware/sessions
the value is not defined in the phpinfo() viewed from the Admin

And when i set it as :
  php_admin_value open_basedir 
/usr/share/phpgroupware:/var/lib/phpgroupware/files:/var/lib/phpgroupware/sessions
then I get errors :

PHP Warning:  include() [<a href='function.include'>function.include</a>]: 
Failed opening '../header.inc.php' for inclusion 
(include_path='.:/usr/share/php:/usr/share/pear') in 
/usr/share/phpgroupware/admin/index.php on line 19

Have any of you experienced similar behaviours ?

FYI, I'm testing on Debian unstable, i.e. apache 2, php5 + suhosin and the 
Debian package trying to use /etc/apache2/conf.d/phpgroupware.conf directives 
for mod_php5.

Thanks in advance.

Best regards,
-- 
Olivier BERGER <address@hidden> (*NEW ADDRESS*)
http://www-inf.it-sudparis.eu/~olberger/ - OpenPGP-Id: 1024D/6B829EEC
Ingénieur Recherche - Dept INF
Institut TELECOM / TELECOM & Management SudParis (http://www.it-sudparis.eu/), 
Evry






reply via email to

[Prev in Thread] Current Thread [Next in Thread]