cmd.php didnt work :-(

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
Switch
Posts: 2
Joined: Thu Aug 12, 2004 6:08 pm

cmd.php didnt work :-(

Post by Switch »

Hello all,

i am new with cacti and i have following prob:

when i will do the command

php cmd.php i will get an error:

X-Powered-By: PHP/4.1.2
Content-type: text/html

<br />
<b>Fatal error</b>: Call to undefined function: mysql_connect() in
<b>/home/caccti/lib/adodb/drivers/adodb-mysql.inc.php</b> on line <b>323</b><br />

My php supports mysql....

i am realy confused...
Coeus
Cacti User
Posts: 51
Joined: Mon Aug 04, 2003 8:46 pm
Location: Perth - Western Australia

Post by Coeus »

Looks like a typo: caccti

Carl
Switch
Posts: 2
Joined: Thu Aug 12, 2004 6:08 pm

Post by Switch »

it isnt, i have named the dir caccti.... :-)
Coeus
Cacti User
Posts: 51
Joined: Mon Aug 04, 2003 8:46 pm
Location: Perth - Western Australia

Post by Coeus »

In that case...

Did you compile php from scratch? It may not be in your include path

Carl
lokus

Post by lokus »

did you start mysql?
Guest

Post by Guest »

Doesn't matter at this point - the adodb is searching for the php function mysql_connect and not finding it - if mysql was running or not this error message wouldn't change.

I suspect hes missing an option in php.ini

Carl
Post Reply

Who is online

Users browsing this forum: albanepl63 and 0 guests