Re: php.ini for every vhost



On Jan 30, 11:43 pm, "Ozz" <usman...@xxxxxxxxx> wrote:
ok, I found the answer. By using 'SERVER_ADMIN' in vhost definition,
you can override a whole bunch of parameters.
But I am still trying to figure out if I can use a seperate php.ini
file for each v-host. Any ideas?

Thanks.

On Jan 30, 12:36 pm, "Ozz" <usman...@xxxxxxxxx> 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.

AFAIK, this is only possible if you use PHP as CGI. For mod_php this
is not possible because there is only one loaded instance of PHP per
server.

.



Relevant Pages

  • Re: [SLE] php.ini
    ... post_max_filesize is saying 8M and its set to 999M in the php.ini file... ... does the php.ini override the core setting or do i need to change it in php ... version of PHP is it? ...
    (SuSE)
  • Re: Urgent | Info Required | PHP ini_set
    ... We have a client who is providing Web Hosting Solutions. ... For security reasons, we have disabled some PHP Functions including ... PHP_INI_ALL) so that even with 'ini_set', user cannot override them? ...
    (comp.lang.php)
  • RE: [PHP] Override php.ini
    ... that it automatically changes <? ... To <script language....> and wanted to know ... Subject: [PHP] Override php.ini ... Is there something that I could do with override php.ini command? ...
    (php.general)