Getting mail() working on PHP

Posted:
in Genius Bar edited January 2014
I installed PHP 4.1.1 Apache module on OS X 10.2 following the directions here:



<a href="http://www.entropy.ch/software/macosx/php/"; target="_blank">http://www.entropy.ch/software/macosx/php/</a>;



but I noticed that it doesn't include mail capability,for lack of the php.ini file.How can I add this,either by rebuilding PHP in whole or part?Any information would be appreciated.

Comments

  • Reply 1 of 2
    torifiletorifile Posts: 4,024member
    Are you sure you don't have a php.ini file? I didn't think that it would work without one. Have you done a phpinfo on your install?



    [code]

    &lt?php

    phpinfo();

    ?$gt

    </pre><hr></blockquote>



    That should tell you where your php.ini file is. I think that it will also tell you if sendmail is working and installed. (Ignore this response if you knew this already.)
  • Reply 2 of 2
    I'll check that out
Sign In or Register to comment.