Ad Widget

Collapse

why no web page I can see?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mayitong
    Junior Member
    • May 2005
    • 1

    #1

    why no web page I can see?

    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!!!!
  • cooper
    Senior Member
    • Sep 2004
    • 110

    #2
    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
    Code:
    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
    Last edited by cooper; 04-05-2005, 20:35.

    Comment

    Working...