I have just installed cacti for the first time on a Windows 2003 server I am using cacti-0.8.6b, with Apache 2, MySql 5.0, rrdtool 1.048, php5.02, and net-snmp everything required to run cacti, but when I open my web browser and go to x.x.x.x/cacti I get this error
Fatal error: Call to undefined function mysql_connect() in C:\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.inc.php on line 323
I have double and triple checked my installation I have searched the web for an answer and this forum as well. I will try the good old fashion reboot for now. If someone could help me with this it would be AWESOME!!!!
The extension=mysql.dll is not commented Which is all the info I could get from the Internet.
If you need any other info please let me Know !!
Fatal error: Call to undefined function mysql_connect() in C
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Joe H.,
Edit php.ini in the c:\php directory and verify that the mysql extension is uncommented. Also verify that the PHPRC environment variable points to the c:\php directory. And also verify that there is no php.ini file in either c:\windows or c:\winnt directories.
If you find any of the following true, make sure you reboot after you make the changes before proceeding.
TheWitness
Edit php.ini in the c:\php directory and verify that the mysql extension is uncommented. Also verify that the PHPRC environment variable points to the c:\php directory. And also verify that there is no php.ini file in either c:\windows or c:\winnt directories.
If you find any of the following true, make sure you reboot after you make the changes before proceeding.
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