[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [phpGroupWare-users] Problem with open_basedir in apache's configura
Re: [phpGroupWare-users] Problem with open_basedir in apache's configuration
Wed, 26 Mar 2008 17:17:25 +0100
Le mercredi 26 mars 2008 à 17:08 +0100, Olivier Berger a écrit :
> 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
> the value is not defined in the phpinfo() viewed from the Admin
> And when i set it as :
> php_admin_value open_basedir
> 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 ?
OK, found it : it's because I miss /etc/phpgroupware/ as the
header.inc.php is a symlink into that dir, it seems...
Anyway, that doesn't explain me why the "php_value open_basedir ..." has
no effect... Which means that maybe the docs should be updated ?
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/),