PHP files not being
am 20.09.2007 04:27:38 von oliverHello,
I've recently installed php 5 on a FreeBSD 6.2 box with Apache 2.2.4.
Apache works and can serv html pages, but when I point it to a .php page,
the code is not executed or interpreted. Instead, I see the code as text.
Example below.
The installs are all prety much default right now. Any help woul dbe much
appreciated.
Thanks!
Oliver
EXAMPLE:
$type!="label") { $result = call_user_func("check_".$type, $value); if
($result) $state = 1; else { $auto_config_value = autoConfig($key, $value);
$result = call_user_func("check_".$type, $auto_config_value); if ($result ||
($key=="os_type") || ($key=="rrdtool_version")) { $value =
$auto_config_value; $state = 1; } else $state = 2; } } //if
($old_value!=$value) // debug ("$type - $key - $old_value -> $value");
return array($value, $state); } $no_db=1; include("../../conf/config.php");
if ($jffnms_initial_config_finished==1) { if
((get_config_option("jffnms_access_method")=="local") && (db_test())) $no_db
= 0; include("../auth.php"); if (!profile("ADMIN_SYSTEM")) die ("