Le mercredi 26 mars 2008 à 17:08 +0100, Olivier Berger a écrit :
> 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 ?

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 ?

Best regards,
-- 
Olivier BERGER <[EMAIL PROTECTED]> (*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




_______________________________________________
phpGroupWare-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/phpgroupware-users

Reply via email to