Reply to PHP files not being

Your name:

Reply:


Posted by Oliver on 09/20/07 02:27

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация