Hi there.

the problem:
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.

Here backgrounds:
stanis...@smetanin:~$ uname -rv
2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 01:26:53 UTC 2010

stanis...@smetanin:~$ dpkg -l libapache2-mod-php5 | tail -n1
ii  libapache2-mod-php5                  5.2.10.dfsg.1-2ubuntu6.4
             server-side, HTML-embedded scripting language (Apache 2
module)

stanis...@smetanin:~$ apache2 -v
Server version: Apache/2.2.12 (Ubuntu)

Thanks to the community for any help.

--
Stanislaw Smetanin. http://stanislaw.su/

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to