Re: php 5.2.4 disable mail() function
| From: | Hartmut Wernisch | Date: | Thu, 06 Sep 2007 06:47:33 +0000 |
| Subject: | Re: php 5.2.4 disable mail() function | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-18255@lists.php.net to get a copy of this message | ||
On Thu, 06 Sep 2007 08:35:14 +0200, php@pmenier.net wrote:
> Hartmut Wernisch a écrit :
>> Is there a patch available to revert the "Changed mail() function to be
>> always available. (Johannes)" (see changelog)?
>>
>> I'am looking for an easy way to disable the build in mail-function again.
>> I would prefer not to diff the old and new sources, so any other idea? :)
>>
>> Thanks in advance,
>> Hartmut
>>
>>
>>
> Hello,
>
> Just adding mail in php.ini : disable_functions = mail
>
> Patrikc
Yes, sorry I didn't mentioned that I have to use an own mail function which
is included via php.ini.
So I get an "Fatal error: Cannot redeclare mail() ..." error. This is why I
am looking for a way to disable the mail function at compile time!
Thanks for your answer!
Hartmut