errors when running mailwatch php/mysql

Steve Freegard smf at f2s.com
Sun Feb 5 21:17:03 GMT 2006


Hi Harondel,

On Sun, 2006-02-05 at 12:55 -0800, Harondel J. Sibble wrote:
> I've just spent the last few hours setting up mailwatch on a freshly built 
> centos 4.2 mail relay. Mailscanner is working fine with postfix.
> 
> [client xxx.xxx.xxx.xxx] PHP Fatal error:  Call to undefined function:  
> mysql_escape_string() in /var/www/html/mailscanner/functions.php on line 528

You don't have the MySQL PHP module installed - if you run 

php -m | grep -i mysql

It won't return anything - run 'yum install php-mysql' and it should
start working.

Kind regards,
Steve.

P.S.  Please don't post MailWatch questions on the MailScanner list -
use the MailWatch list instead:
http://lists.sourceforge.net/mailman/listinfo/mailwatch-users




More information about the MailScanner mailing list