[SLE] Fatal error: Call to undefined function: mail()

From: Nick Clarke (nickc_at_Leasedrive.co.uk)
Date: 05/23/04

  • Next message: Janus Sandsgaard: "Re: [SLE] Trying to get VMWare 4.5.1 installed on SUSE 9.1"
    Date: Sun, 23 May 2004 12:22:53 +0100
    To: <suse-linux-e@suse.com>
    
    

    Hi all,

    I'm having a problem with php at the moment that stops me from sending emails. When ever I try to send an email using the mail() function I get the error messsage shown below:

    Fatal error: Call to undefined function: mail()

    As far as I can find out it would apear that when php was installed it could not find the sendmail program!

    Does any one know how to fix this?

    Most of the sites that talk about this problem say that recompiling will help. Any ideas how I recompile php? as I used yast2 to install it.

    Any help will be great.

    Thanks in Advance,
    Nick

    Spec:
    Suse Pro 9.1
    Kern: 2.6.4-54.5-smp
    PHP: 4.3.4

    **********************************************************************
    This email and any files transmitted with it as attachments are confidential and intended solely for the use of the individual or entity to whom they are addressed. The communication contains personal remarks and does not necessarily reflect company policy or procedure. If you have received this email in error please notify the sender with immediate effect. The sender does not accept liability for any error, omission or corruption which arises from this e-mail transmission.

    For your protection this mail and attachments have been swept by MIMEsweeper for the presence of viruses.

    *********************************************************************

    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Janus Sandsgaard: "Re: [SLE] Trying to get VMWare 4.5.1 installed on SUSE 9.1"

    Relevant Pages

    • HOWTO: FreeTDS for Newbies (almost complete)
      ... One way to do that is to install FreeTDS, recompile PHP, ... You can go to freetds.org and install the RPMs on Unix or Linux ...
      (comp.lang.php)
    • Re: [PHP] Re: Individual bulk e-mails - performance question
      ... I agree that sending it by an external process more specialized ... in sending emails can be faster and more eficient, ... Anyway, don't ask me how to do that, I'm more confortable doing things in PHP:) ... the messages without holding on the PHP script. ...
      (php.general)
    • Re: No apxs when updating PHP
      ... So I downloaded the latest PHP source files, ... Sorry, I cannot run apxs. ... You only need apxs to compile PHP, not install a binary. ... No, I'm saying you're trying to recompile PHP, and you need apxs for that. ...
      (comp.lang.php)
    • Re: Error message but I cant figure out why
      ... >> It won't work if mysql support is not built into the php install. ... > I'm very new to redhat, just how do I recompile php? ... Run the configure script with mysql and other options. ...
      (alt.php)
    • Re: Installing zziplib on php4?
      ... "In PHP 4 this PECL extensions source can be found in the ext/ directory ... to expect before I end up ruinging our PHP install. ... It isn't difficult to recompile PHP from the *.src.rpm file. ...
      (comp.lang.php)