Re: What do admins put in their open_basedir

From: Date: Sat, 15 Dec 2001 13:38:29 +0000
Subject: Re: What do admins put in their open_basedir
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-77818@lists.php.net to get a copy of this message
Ehm ... I tried to do open_basedir within the .htaccess and own this file by root, so the user couldn´t change the settings. But yeah, that wasn´t the best solution, now I do within the Apache config file. A entry for a vhost looks like this: <VirtualHost IPADRESS> ServerAdmin webmaster@domain.com ServerName www.domain.com ServerAlias domain.com DocumentRoot /home/domain/public_html php_admin_value open_basedir /home/domain </VirtualHost> Hope it helps ! Cya ! Daniel "Marc Delisle" <DelislMa@CollegeSherbrooke.qc.ca> schrieb im Newsbeitrag news:3C18FE9C.58F56E8F@CollegeSherbrooke.qc.ca... > Hi, > > I would like to know if sysadmins usually put "." in their php.ini, open_basedir variable, or if > they put some other directory, or both. > > The reason is that phpMyAdmin's dump uploads don't work well currently on a server with > open_basedir, and I would try to code around the problem, if practical. > > Thanks. > > Marc Delisle > phpMyAdmin dev. team

« previous php.general (#77818) next »