Hi all,
We have just completed our installation of RC2 and have come across the following issue, which we cannot resolve!
When we edit the system configuration, and commit the changes the following error is returned:
Fatal error: Call to undefined function: mail() in /usr/local/php-cli/bin/Mail/mail.php on line 111
Also interestingly the changes are applied to the system, even though this error comes up.
Currently we haven’t seen the error anywhere else, but we are guessing that all the mail notifications are not working. We have checked the error and system logs and cant see much happening there.
The initial installation went as expected with all dependencies being met with one exception:
SQ_FUDGE_PATH /tmp/mysource_matrix/fudge
SQ_PHP_CLI
SQ_CONF_PEAR_PATH /tmp/mysource_matrix/php_includes
should anything be defined for SQ_PHP_CLI??
Any ideas?
Thanks in advance!
Anthony locke
Looks like your PEAR installation for the CLI version of PHP is broken. That's what's generating the error (not Matrix). I'd run
# /usr/local/php-cli/bin/pear listand see if PEAR works properly.
Hey Avi,
Thanks for your reply.
We have checked the Pear setup, and it all appears to be intact.
Does the system require sendmail or qmail etc? We havent loaded anything like this as yet, and its all we can think of!
regards,
Anthony
PHP does require a configured STMP server. If you don't have Sendmail or Postfix or equivalent installed, you'll have to configure PHP to use a different box.
Thanks Avi,
I think thats our problem…