php poller error...

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
turbulence
Posts: 2
Joined: Wed Oct 26, 2005 10:36 pm

php poller error...

Post by turbulence »

Hi,

i want to ask about my cacti..
i've finished installing cacti, now i got a problem when i run command

#php /var/www/cacti/poller.php

Fatal error: Call to undefined function: mysql_pconnect() in /var/www/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 356


is there any problem with my mysql or anything else??

regards,

tommy
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This has been answered already. Sreach for Call to undefined function: mysql_pconnect() to find something like missing php-mysql rpm or the like
Reinhard
delubyo
Posts: 1
Joined: Wed Aug 23, 2006 9:18 pm

Post by delubyo »

try running this if you have yum installed on your system

yum install php-adodb*

this will download and install the needed requirement for your cacti
Discogalaxy
Posts: 20
Joined: Sat Feb 25, 2006 4:51 am
Location: Germany
Contact:

Post by Discogalaxy »

What OS are you running?

I run Debian Sarge an I have the same problem.
When I run as root it works. But as a normal user it won't....

I tried everythin i found in here...like reconfiguring php4-mysql etc... but nothing worked.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests