Re: php.ini for every vhost
- From: Norman Peelman <npeelman@xxxxxxxxxx>
- Date: Tue, 30 Jan 2007 19:05:57 -0500
Ozz wrote:
ooops, by mistake "I replied to author", sorry Klepr.
I am also trying to use a seperate php.ini file for each vhost. Or, a php parameter in vhost definition to override default value, but it is not taking effect.
I am looking for a good resource that explains the procedure. Also, could anyone tell me where to get the manual you are talking about?
Thanks.
Ozz,
To set php parameters in virtual hosts do:
php_value parameter-name value -> sets values
php_flag parameter-name value -> sets flags (on|off etc)
examples:
php_value session.name "xyz"
php_value session.cookie_domain "www.domain.com"
php_value upload_max_filesize "1M"
php_flag register_globals off
---
For a list of what can be changed and where - check here: http://www.php.net/manual/en/ini.php
Norm
.
- References:
- php.ini for every vhost
- From: Ozz
- php.ini for every vhost
- Prev by Date: Re: php.ini for every vhost
- Next by Date: Re: Question about a data structure
- Previous by thread: Re: php.ini for every vhost
- Next by thread: Re: Regular Expression question..simple!
- Index(es):