SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast allusion's Avatar
    Join Date
    Aug 2001
    Location
    San Francisco, CA
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    mail() not supported in this php build?!

    I've been getting these errors the past couple of days:
    Warning: mail() is not supported in this PHP build

    Does anyone know what could be causing this?

    Here's a link to my phpinfo:
    http://www.swcdesign.com/phpinfo.php

  2. #2
    SitePoint Addict jough's Avatar
    Join Date
    Sep 2001
    Location
    You have moved into a dark place. It is pitch blac
    Posts
    248
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Whoops - looks like someone forgot to fill-in the sendmail path when they upgraded/installed Apache/PHP.

    Contact your server admin and let them know, if they don't already.

    -- Jough
    My Dynamic Site in Action:
    Poetry X Poetry Archive

  3. #3
    SitePoint Enthusiast allusion's Avatar
    Join Date
    Aug 2001
    Location
    San Francisco, CA
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Fixed sendmail path and still no mail(). Any more suggestions?

  4. #4
    ********* Callithumpian silver trophy freakysid's Avatar
    Join Date
    Jun 2000
    Location
    Sydney, Australia
    Posts
    3,798
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well - that's quite amazing. Your build of php has certainly been configured with lots of the bells and whistles and add-ons. Yet there is no mail() which is a standard part of the API library anyway. Hmmm...

    My guess is that when php was being compiled it could not find the header files for sendmail in the path it was expecting to find them and thus it was compiled without support for the mail functions. That's a hunch - only you will know what messages were given during the make. I don't know what I just said - I hope it makes sense because I just made it up.

    Another thing... did you compile php and then went back and compiled it again without rm config.cache and running "make clean" before "./configure ..." ? That could have caused the problem.

    Definitely worth trying to make another clean compile. Don't forget to restart apache after compiling and installing the new make of php also.

    PS: - I don't know if you compiled this or a web host compiled - ie, who is admin the server? But you are going to have to recompile php.

  5. #5
    SitePoint Enthusiast allusion's Avatar
    Join Date
    Aug 2001
    Location
    San Francisco, CA
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It looks like because at compiling time the path to sendmail was wrong it didn't put it right. A recomplile and restart later now all is good . Thank you very much to all who offered suggestions.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •