note 24138 added to configuration
| From: | netdelay at linuxbr dot com dot br | Date: | Wed, 07 Aug 2002 17:32:12 +0000 |
| Subject: | note 24138 added to configuration | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-34464@lists.php.net to get a copy of this message | ||
You can configure this values for independent VirtualHosts.
Just put at your httpd.conf <VirtualHost> section the flag
php_admin_value <variable_name> <value>
Example:
<VirtualHost 127.0.0.1>
DocumentRoot /path/to/file
ServerName your.website.name
php_admin_value auto_prepend_file /path/to/file/lib/config.inc.php
</VirtualHost>
And now the file config.inc.php will be automatically loaded before the main file, but only for this
Virtual Host
--
http://www.php.net/manual/en/configuration.php
http://master.php.net/manage/user-notes.php?action=edit+24138
http://master.php.net/manage/user-notes.php?action=delete+24138
http://master.php.net/manage/user-notes.php?action=reject+24138