Running 'php' from the command line I get the following:[Thu Feb 09 10:04:45 2017] [error] [client x.x.x.x] PHP Fatal error: Undefined class constant 'MYSQL_ATTR_FOUND_ROWS' in /var/www/html/cacti-1.0.1/lib/database.php on line 52
I have reviewed all the upgrade steps to make sure that nothing was missed. The "include/config.php" file has been updated and the MySQL timezone instruction for Cacti 1.x were also followed.# php /var/www/html/cacti-1.0.1/index.php
PHP Fatal error: Undefined class constant 'MYSQL_ATTR_FOUND_ROWS' in /var/www/html/cacti-1.0.1/lib/database.php on line 52
What am I missing? Do I need to upgrade PHP, MySQL, etc too for Cacti 1.0.1?
My installed software package versions are:
Any help is greatly appreciated!# yum list installed php-* mysql* httpd* rrdtool* mariadb*
Loaded plugins: priorities, security
1 packages excluded due to repository priority protections
Installed Packages
httpd.x86_64 2.2.3-92.0.1.el5_11 installed
mysql.i386 5.0.95-5.el5_9 installed
mysql.x86_64 5.0.95-5.el5_9 installed
mysql-devel.i386 5.0.95-5.el5_9 installed
mysql-devel.x86_64 5.0.95-5.el5_9 installed
mysql-server.x86_64 5.0.95-5.el5_9 installed
php.x86_64 5.1.6-45.el5_11 installed
php-cli.x86_64 5.1.6-45.el5_11 installed
php-common.x86_64 5.1.6-45.el5_11 installed
php-mysql.x86_64 5.1.6-45.el5_11 installed
php-pdo.x86_64 5.1.6-45.el5_11 installed
php-snmp.x86_64 5.1.6-45.el5_11 installed
php-xml.x86_64 5.1.6-45.el5_11 installed
rrdtool.x86_64 1.4.5-1.wrl installed
rrdtool-perl.x86_64 1.4.5-1.wrl installed