note 15780 added to features.safe-mode

From: Date: Tue, 02 Oct 2001 23:21:39 +0000
Subject: note 15780 added to features.safe-mode
Groups: php.notes 
Request: Send a blank email to php-notes+get-18485@lists.php.net to get a copy of this message
If you do virutal hosting, you can turn safe mode on and off for different Apache Virutal Hosts using the php_admin_value directive. This also allows you to have customised maximum execution times, disabled functions, etc. By placeing a base_dir for each virutal host, this means PHP CANNOT access files below this heirachy; strongly recoomended for cutsomer hosting. Eg: [VirtualHost 127.0.0.1:80] DocumentRoot /var/www/html/safephphost/ ServerName safephp php_admin_value safe_mode 1 php_admin_value open_base_dir /var/www/html/safephphost/ php_admin_value sendmail_from phobo#paradise.net.nz [/VirtualHost] -- http://www.php.net/manual/en/features.safe-mode.php http://master.php.net/manage/user-notes.php?action=edit+15780 http://master.php.net/manage/user-notes.php?action=delete+15780 http://master.php.net/manage/user-notes.php?action=reject+15780

« previous php.notes (#18485) next »