|
|
| Author |
Message |
dougconran
Joined: 02 Nov 2008 Posts: 4
|
Posted: Sun Nov 02, 2008 6:19 pm Post subject: Cannot log in to Cacti after new install |
|
|
I have installed Cacti (0.87) onto my Linux server according to the instructions (as far as I can determine) but am getting the following error when I try and connect for the first time (using a URL of /cacti/index.php):-
Fatal error: Call to undefined function: session_name() in /usr/local/httpd/htdocs/cacti/include/global.php on line 128
I also just get a blank page when I try and access an HTML page with just
<?php phpinfo(); ?>
in it.
My configuarion is:
Linux - 2.6.13-15-smp (Suse linux v10.0)
Apache - 2.0.54
PHP - 4.4.0
Mysql - Ver 14.7 Distrib 4.1.13, for suse-linux (x86_64)
Cacti - cacti-0.8.7b
I do not know PHP at all and am completely stuck.
Any help would be gratefully received.
TIA
Doug |
|
| Back to top |
|
 |
rony Developer/Forum Admin
Joined: 17 Nov 2003 Posts: 5448 Location: Wisconsin, USA
|
Posted: Sun Nov 02, 2008 6:49 pm Post subject: |
|
|
Search Google to help you with you PHP configuration.
The problem is that Sessions don't seem to be enabled in PHP, that would be my guess. |
|
| Back to top |
|
 |
dougconran
Joined: 02 Nov 2008 Posts: 4
|
Posted: Tue Nov 04, 2008 12:41 pm Post subject: |
|
|
PHP (4.4.0) was installed as part of the Suse 10 distro. It seems that it is compiled with --disable-sessions (and --disable-mysql).
Is there any way that I can change those settings in the PHP.ini file or do I have to re-compile? (Can't find the answer on Google).
TIA
Doug |
|
| Back to top |
|
 |
rony Developer/Forum Admin
Joined: 17 Nov 2003 Posts: 5448 Location: Wisconsin, USA
|
Posted: Tue Nov 04, 2008 1:45 pm Post subject: |
|
|
Ah yes...
| Code: |
yum install php-session php-mysql
|
|
|
| Back to top |
|
 |
dougconran
Joined: 02 Nov 2008 Posts: 4
|
Posted: Tue Nov 04, 2008 3:33 pm Post subject: |
|
|
php4-session and php4-mysql are already installed. Is there some way that I can remove the --disable-session/mysql settings?
Tks
Doug |
|
| Back to top |
|
 |
dougconran
Joined: 02 Nov 2008 Posts: 4
|
Posted: Tue Nov 04, 2008 3:36 pm Post subject: |
|
|
Oops - sorry, php -i reports --enable-session and --without-mysql (not --disable-mysql)
Doug |
|
| Back to top |
|
 |
|