Why does this file display when I enter /localhost/zm

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
mrhungryface
Posts: 1
Joined: Sun Mar 03, 2019 3:50 pm

Why does this file display when I enter /localhost/zm

Post by mrhungryface »

resolved the below with
sudo a2enmod php7.2

however I get this message Unable to connect to ZM db.SQLSTATE[HY000] [1045] Access denied for user 'zmuser'@'localhost' (using password: YES)


Hello I have installed Zoneminder even the additions as I am running Ubuntu 18. When I go to the web page localhost/zm I get the below text file

//
// ZoneMinder main web interface file, $Date$, $Revision$
// Copyright (C) 2001-2008 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
//
namespace ZM;

error_reporting(E_ALL);

The file goes on

This is displays on all machines connecting to the server. Apache is running but I am not able to find the next steps to trouble shoot has anyone else experienced this?
Last edited by mrhungryface on Sun Mar 03, 2019 7:27 pm, edited 1 time in total.
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Why does this file display when I enter /localhost/zm

Post by bbunge »

Likely you did not set up LAMP correctly. Which Ubuntu 18 are you using? What install instructions did you use?
Post Reply