Fatal error: Call to undefined function mysql_connect()
Moderators: Developers, Moderators
Fatal error: Call to undefined function mysql_connect()
I follow the installation document exactly, during installation, there is no error. when I run http://localhost/cacti, then I got:
Fatal error: Call to undefined function mysql_connect() in C:\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.inc.php on line 338
who can help me out?
Thanks
cacti-0.8.6g
apache2.2.0
mysql5.0.16
rrdtool1.0.49
php5.1.1
net-snmp5.2.2.1
cactid0.8.6f
Fatal error: Call to undefined function mysql_connect() in C:\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.inc.php on line 338
who can help me out?
Thanks
cacti-0.8.6g
apache2.2.0
mysql5.0.16
rrdtool1.0.49
php5.1.1
net-snmp5.2.2.1
cactid0.8.6f
1) read the guide in my signature.
2) either you didnt uncomment the php_mysql.dl in php.ini or you need to apply the old password method, outlined in my guide (step #6 under MySQL).
2) either you didnt uncomment the php_mysql.dl in php.ini or you need to apply the old password method, outlined in my guide (step #6 under MySQL).
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 15
- Joined: Mon Dec 19, 2005 11:21 am
- Location: Columbus, Ohio, U.S.A.
What did you do to get it working? Also, where is the "guide in my signature" located that BSOD2006 speaks of? I am having the exact same problem, and my apache logs are listing:
[Mon Dec 19 10:40:17 2005] [error] PHP Fatal error: Call to undefined function mysql_connect() in /var/www/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 338
I am running on OpenBSD 3.8, chroot apache 1.3.29 (tested both ways), mysql 4.0.24, php 5 with mysql extensions. PHP is working (tested using PHP test script). MySQL also is working, database created, etc...
Specifically, when I try to log into cacti for the first time, I get a blank page and the log message above. That is all. Cacti has not worked on this machine, however, I did have it running for over a year on a FreeBSD box. Any help is greatly appreciated.
Thanks!
[Mon Dec 19 10:40:17 2005] [error] PHP Fatal error: Call to undefined function mysql_connect() in /var/www/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 338
I am running on OpenBSD 3.8, chroot apache 1.3.29 (tested both ways), mysql 4.0.24, php 5 with mysql extensions. PHP is working (tested using PHP test script). MySQL also is working, database created, etc...
Specifically, when I try to log into cacti for the first time, I get a blank page and the log message above. That is all. Cacti has not worked on this machine, however, I did have it running for over a year on a FreeBSD box. Any help is greatly appreciated.
Thanks!
-
- Posts: 15
- Joined: Mon Dec 19, 2005 11:21 am
- Location: Columbus, Ohio, U.S.A.
ok, you must have to have a profile and be logged in to see the signature. I found it, and followed the instructions (as closely as possible, due to platform differences), and I am still getting the same thing. I have tried running httpd under the chroot environment and without it and still nothing...
-
- Posts: 15
- Joined: Mon Dec 19, 2005 11:21 am
- Location: Columbus, Ohio, U.S.A.
-
- Posts: 15
- Joined: Mon Dec 19, 2005 11:21 am
- Location: Columbus, Ohio, U.S.A.
Who is online
Users browsing this forum: No registered users and 1 guest