[afnog] Cacti on FreeBSD [problems]
Phil Regnauld
regnauld at nsrc.org
Fri Jun 25 09:00:57 UTC 2010
Nicolas Kimana [MTN Rwanda - MTN Centre] (nicolask) writes:
> Hello folks,
>
>
>
> I have now gotten apache to run and load http://localhost/cacti/
> <http://localhots/cacti/> but sadly, it does not seem to parse PHP
> yet... only prompts me to download the php file.
Hi Nicolas,
Have you enabled PHP in Apache's configuration ? Which version
of Apache ?
In httpd.conf, you should see lines like this:
LoadModule php5_module libexec/apache22/libphp5.so
[...]
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
[...]
<IfModule mime_module>
[...]
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
[...]
</IfModule>
Cheers,
Phil
More information about the afnog
mailing list