I have php 5.0 - apache2.0.50 - mysql.4.0.20 Slackware 10.0
cat /var/log/apache2/error.log
[client 10.0.0.11] PHP Fatal error: Call to undefined function mysql_connect() in
/var/www/htdocs/cacti-0.8.6-cvs/lib/adodb/drivers/adodb-mysql.inc.php on line 323
Line 323 =>
Code: Select all
// returns true or false^M
function _connect($argHostname, $argUsername, $argPassword, $argDatabasename)^M
{^M
if (ADODB_PHPVER >= 0x4300)^M
$this->_connectionID = mysql_connect($argHostname,$argUsername,$argPassword,^M
$this->forceNewConnect,$this->clientFlags);^M
else if (ADODB_PHPVER >= 0x4200)^M
$this->_connectionID = mysql_connect($argHostname,$argUsername,$argPassword,^M
$this->forceNewConnect);^M
else^M
$this->_connectionID = mysql_connect($argHostname,$argUsername,$argPassword);^M
^M
if ($this->_connectionID === false) return false;^M
if ($argDatabasename) return $this->SelectDB($argDatabasename);^M
return true; ^M
}^M
^M
// returns true or false^M
please let me to know what is rong
Thank you.