Hi all
I have recently moved a php application my company uses to a different server (it worked fine on the previous one)
I have configured the new linux machine from scratch..
Eventually getting PostgreSQL to work, the only problem i now have is the following
Fatal error: Call to undefined function: mail() in /usr/local/apache/htdocs/classes/***.inc on line 1446
Seems to me like for what ever reason the mail/sendmail function has not come installed with PHP...
Anyone have any ideas?
Call to undefined function: mail()
Moderator: General Moderators
Re: Call to undefined function: mail()
Have you checked that /usr/sbin/sendmail exists?
Re: Call to undefined function: mail()
Yes it does...Celauran wrote:Have you checked that /usr/sbin/sendmail exists?
Thanks
Re: Call to undefined function: mail()
Did you compile PHP yourself? Did /usr/sbin/sendmail exist at that time? From what I've read, that error indicates the sendmail executable was missing at PHP compile time.
Re: Call to undefined function: mail()
Yes compiled it myself, and originally it wasnt, however i did recompile after it existed.Celauran wrote:Did you compile PHP yourself? Did /usr/sbin/sendmail exist at that time? From what I've read, that error indicates the sendmail executable was missing at PHP compile time.
thanks