Re: different php.ini for virtual host on apache2 with mod_php5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 16.03.10 11:50, Станислав Сметанин wrote:
> To: users@xxxxxxxxxxxxxxxx
> 
> I want to disable mail() function in the one of virtual hosts' that
> use PHP(I use mod_php for apache2), and regarding to the
> http://www.php.net/manual/en/ini.core.php#ini.disable-functions I
> can't use directives like php_value, etc, because value of
> disable_functions can be set only in php.ini, but I don't want to
> disable mail() on the all of my virtual hosts, just on one.
> 
> the question:
> Can I use different php.ini for virtual hosts, in my case I want to
> use php.ini for one host, where disable_functions = mail will be.

This is apache mailing list, and your question belongs to PHP list/forum
etc. You can also search PHP docs on http://www.php.net/

-- 
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Emacs is a complicated operating system without good text editor.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux