Reply to Re: php.ini for every vhost

Your name:

Reply:


Posted by Norman Peelman on 01/31/07 00:05

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация