When config.php is incorrect I get:
When the vars are correct in there I get a segmentation fault:FATAL: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'
I am able to pull a phpinfo.php so it appears as if php is working but I'm wondering if the mysql module in php is causing this. Here are the apache logs:[root@my-cacti cacti]# php -e index.php
Segmentation fault
Here are my versions:[Mon Jan 14 13:40:03 2008] [notice] child pid 16463 exit signal Segmentation fault (11)
[Mon Jan 14 13:41:15 2008] [notice] child pid 16543 exit signal Segmentation fault (11)
[Mon Jan 14 13:41:53 2008] [notice] child pid 16544 exit signal Segmentation fault (11)
Here is the php ./configure if it helps:[root@my-cacti cacti]# cat /etc/redhat-release
CentOS release 4.5 (Final)
[root@my-cacti cacti]# mysql -V
mysql Ver 14.12 Distrib 5.0.51, for redhat-linux-gnu (i686) using EditLine wrapper
[root@my-cacti cacti]#
[root@my-cacti cacti]# php -v
PHP 5.2.4 (cli) (built: Jan 14 2008 13:19:22)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
[root@my-cacti cacti]#
[root@my-cacti cacti]# ls /source/cacti-0.8.7a
[root@my-cacti cacti]# ls /source/rrdtool-1.2.26
Just hoping someone has a suggestion'./configure' '--with-mysql=/usr/local/mysql' '--with-zlib-dir=/usr/include' '--with-config-file-path=/usr/local/php' '--enable-sockets' '--with-gd' '--prefix=/usr/local/php' '--with-apxs2=/usr/local/apache/bin/apxs'
I've also tried php5.2.5 and cacti-0.8.7a, same deal.
Thanks in advance!