PHP+Mysql DB connection script

<?php $link = mysql_connect(‘localhost’, ‘mysql_user’, ‘mysql_password’); if (!$link) { die(‘Could not connect: ‘ . mysql_error()); } echo ‘Connected successfully’; mysql_close($link); ?>

See More

Clamd status failed in WHM

Clamd status failed in WHM >> serverice statsus Solution >> Disable Clamd in service manager and restart all service like cPanel exim etc then readd clamd in service manager in whm then check service status.

See More

LibClamAV Error: Database Directory

ERROR: LibClamAV Error: Database Directory: /usr/local/share/clamav not locked Solution: root@Hostripples [~]# cd /usr/local/share/clamav/ root@hostripples [/usr/local/share/clamav]# ll total 28 drwxrwxr-x  5 clamav clamav 4096 Jan  2 07:52 ./ drwxr-xr-x  5 root   root   4096 Jun  8  2007 ../ drwxr-xr-x  2 clamav clamav 4096 Aug 28 11:07 clamav-42eba8cbb4bc730d647c2da06e979053/ drwxr-xr-x  2 clamav clamav 4096 Jan  2 07:52 daily.inc/ -rwxrwxr–  […]

See More