ID: 9362
User Update by: [EMAIL PROTECTED]
Status: Closed
Bug Type: Compile Failure
Description: When sendmail not available, get compile errors

You still need to put the ifdefs in basic_functions.c, no?

Previous Comments:

[2001-02-21 02:41:19] [EMAIL PROTECTED]
Thanks, I've changed the sendmail check not to assume that sendmail lives in /usr/lib.


[2001-02-20 17:28:39] [EMAIL PROTECTED]
When sendmail is not available on a system, get compiler errors:

"basic_functions.c", line 486.9: 1506-045 (S) Undeclared identifier php_if_mail.
"basic_functions.c", line 487.9: 1506-045 (S) Undeclared identifier php_if_ezmlm_hash.

I got around the error by doing the following in the above file:

        /* functions from mail.c */
        PHP_FE(mail,                                    NULL)
        PHP_FE(ezmlm_hash,                              NULL)
        PHP_FALIAS(mail  , warn_not_available,      NULL)                             
        PHP_FALIAS(ezmlm_hash, warn_not_available,      NULL)                          

I think that HAVE_SENDMAIL needs to be checked.....


Full Bug description available at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to