Problem since upgraded debian 4.0 to 5.0
php5
mysql5
apache2
i got the poller going ok but when i enter
http://myhost/cacti/
i get
Fatal error: Call to undefined function mysql_pconnect() in /usr/share/php/adodb/drivers/adodb-mysql.inc.php on line 382
not sure as to what info to send, this is php -m
[PHP Modules]
ADOdb
bcmath
bz2
calendar
ctype
date
dba
dom
exif
filter
ftp
gettext
hash
iconv
json
libxml
mbstring
mime_magic
mysql
mysqli
ncurses
openssl
pcntl
pcre
PDO
pdo_mysql
posix
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
zip
zlib
[Zend Modules]
ideas?
regards /Fredrik
Fatal error: Call to undefined function mysql_pconnect() in
Moderators: Developers, Moderators
thanks for the answer! but i allready tried that
only place i see mysql is in
"additional .ini files parsed"
/etc/php5/apache2/conf.d/adodb.ini, /etc/php5/apache2/conf.d/mysql.ini, /etc/php5/apache2/conf.d/mysqli.ini, /etc/php5/apache2/conf.d/pdo.ini, /etc/php5/apache2/conf.d/pdo_mysql.ini
and
sql.safe_mode = off off
i dont feel like reinstalling cacti(ie not putting to much time on it now since i´m on vacation for another 2months, so it would be nice to get it running again
also the poller.php seems to work just fine acording to the logs anyway
/F
only place i see mysql is in
"additional .ini files parsed"
/etc/php5/apache2/conf.d/adodb.ini, /etc/php5/apache2/conf.d/mysql.ini, /etc/php5/apache2/conf.d/mysqli.ini, /etc/php5/apache2/conf.d/pdo.ini, /etc/php5/apache2/conf.d/pdo_mysql.ini
and
sql.safe_mode = off off
i dont feel like reinstalling cacti(ie not putting to much time on it now since i´m on vacation for another 2months, so it would be nice to get it running again
also the poller.php seems to work just fine acording to the logs anyway
/F
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Create a file in your web root called "phpinfo.php", include in it the following:
Then point your browser to it. See if you have the mysql module installed then.
From my experience a few of the distro's have a CLI config for PHP and a separate WWW config. My guess is that your WWW config does not have PHP-MySQL installed in it.
TheWitness
Code: Select all
<?php phpinfo(); ?>
From my experience a few of the distro's have a CLI config for PHP and a separate WWW config. My guess is that your WWW config does not have PHP-MySQL installed in it.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 0 guests