PHP files not being

PHP files not being

am 20.09.2007 04:27:38 von oliver

Hello,

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 ("

Re: PHP files not being

am 20.09.2007 04:40:09 von BKDotCom

On Sep 19, 9:27 pm, "Oliver"
wrote:
> Hello,
>
> I've recently installed php 5 on a FreeBSD 6.2 box with Apache 2.2.4.
>

At best, you've only mostly installed PHP :)
I'm guessing steps 14 and 15?
http://www.php.net/manual/en/install.unix.apache2.php

Re: PHP files not being

am 20.09.2007 16:36:03 von oliver

>> I've recently installed php 5 on a FreeBSD 6.2 box with Apache 2.2.4.
>>
>
> At best, you've only mostly installed PHP :)
> I'm guessing steps 14 and 15?
> http://www.php.net/manual/en/install.unix.apache2.php
>

I'm pretty sure I added those, but I'll double check when I have access to
the computer.

Thanks for the reply.

Oliver

Re: PHP files not being

am 21.09.2007 15:14:25 von oliver

> At best, you've only mostly installed PHP :)
> I'm guessing steps 14 and 15?
> http://www.php.net/manual/en/install.unix.apache2.php
>

yep. I had already added those!

any more ideas?

Oliver