Re: php.ini for every vhost



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
.