Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 95876 invoked from network); 17 Mar 2010 10:39:28 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Mar 2010 10:39:28 -0000 Received: (qmail 1555 invoked by uid 500); 17 Mar 2010 10:39:25 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 1441 invoked by uid 500); 17 Mar 2010 10:39:25 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 1432 invoked by uid 99); 17 Mar 2010 10:39:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Mar 2010 10:39:24 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [78.46.87.206] (HELO Kolkata.infoservices.in) (78.46.87.206) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Mar 2010 10:39:16 +0000 Received: from [192.168.1.100] (unknown [122.176.30.116]) by Kolkata.infoservices.in (Postfix) with ESMTPSA id 0F1DA4CD8AD for ; Wed, 17 Mar 2010 12:09:36 +0100 (CET) Message-ID: <4BA0B13A.6060908@infoservices.in> Date: Wed, 17 Mar 2010 16:08:50 +0530 From: "J. Bakshi" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100228 SUSE/3.0.3-3.1 Thunderbird/3.0.3 MIME-Version: 1.0 To: users@httpd.apache.org References: <1cde5581003160050n6919fbabmeb17748354593ab0@mail.gmail.com> <20100316125403.GB9749@fantomas.sk> In-Reply-To: <20100316125403.GB9749@fantomas.sk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] different php.ini for virtual host on apache2 with mod_php5 On 03/16/2010 06:24 PM, Matus UHLAR - fantomas wrote: > On 16.03.10 11:50, Станислав Сметанин wrote: > >> To: users@httpd.apache.org >> >> 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. >> > Yes you can. Do place the config in .htaccess and it will work for that particular vhost or do place the config in that particular vhost. Cheers -- জয়দীপ বক্সী --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org