hello, I insalled ZM acording to the README with no errors on RH7.3. The problem is when I point my browser to http://localhost/zm i get the following in the browser window instead of hwat I am supposed to see. Any help would be greatly appreciated.
<?php
//
// ZoneMinder main web interface file, $Date: 2003/03/26 12:40:23 $, $Revision: 1.56 $
// Copyright (C) 2003 Philip Coombes
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
//
import_request_variables( "GPC" );
//phpinfo( INFO_VARIABLES );
if ( !isset($PHP_SELF) )
{
$PHP_SELF = $HTTP_SERVER_VARS['PHP_SELF'];
}
$accepts_wml = preg_match( '/text\/vnd.wap.wml/i', $HTTP_SERVER_VARS[HTTP_ACCEPT] );
$accepts_html = preg_match( '/text\/html/i', $HTTP_SERVER_VARS[HTTP_ACCEPT] );
if ( isset($wml) || ($accepts_wml && !$accepts_html) )
{
require_once( 'zm_wml.php' );
}
else
{
require_once( 'zm_html.php' );
}
?>
Please Help with Web Front end
Re: Please Help with Web Front end
You don't have PHP enabled in your web server. I assume you are running Apache as the web server so you need to check the config file to make sure that PHP is enabled.
Re: Please Help with Web Front end
php was enabled but I still couldn't get it to work so I decided to re-install with Mandrake 9.2 and so far all looks good. Thanks for the help.