PDA

View Full Version : why no web page I can see?


mayitong
04-05-2005, 18:28
I have installed mysql,php 5.but when I opened the browser,and pointed to :
http:\\x.x.x.x\index.php,it would show as the flowings:

<?php
$page["title"]="ZABBIX main page";
$page["file"]="index.php";

include "include/config.inc.php";
include "include/forms.inc.php";

if(isset($_POST["password"]))
{
$password=$_POST["password"];
}
else
{
unset($password);
why ?can anybody help me,thanks a lot!!!!
:confused:

cooper
04-05-2005, 20:31
This looks like your web server isnt handling the php. Are you running apache? Make sure you load mod_php in your apache.conf. Also make sure you have

AddType application/x-httpd-php .php


Here is some info on installing and configuring php http://www.php.net/manual/en/install.unix.php

hth,

cooper