errors when running mailwatch php/mysql

Matt Hampton matt at coders.co.uk
Sun Feb 5 21:31:57 GMT 2006


Harondel J. Sibble wrote:

> [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

Thats because you haven't installed the php-mysql RPMS

>
> Relevant rpm versions:
> 
> mailscanner-4.49.7-1
> postfix-2.1.5-4.2.RHEL4
> php-pear-4.3.9-3.9
> php-4.3.9-3.9
> php-gd-4.3.9-3.9
> mysql-devel-4.1.12-3.RHEL4.1
> mysql-server-4.1.12-3.RHEL4.1
> mysql-4.1.12-3.RHEL4.1
> spamassassin-3.0.4-1.el4

yum install php-mysql

and service httpd restart

should fix it.

Matt



More information about the MailScanner mailing list