On Mon, 16 Apr 2012 18:14:22 -0700, charles chambers wrote:

(...)

> Now I'm trying to move the default document root to /var/www/website,
> and that's where the problem is coming in. I can read/display the
> index.html file from http://localhost/ , but I cannot read/display *.php
> from it. All I'm getting from any php files is the HTML; the php appears
> to not be executing. PHP is loaded properly, or phpmyadmin, phpmyedit,
> mediawiki, and phpbb3 wouldn't work, and they do.
> 
> So it's a configuration problem.

When you get an error coming from Apache web server, it is usually a good 
idea to check out the logs :-)
 
> Anyone care to walk me through checking permissions and configuration
> files, starting with a default document root of /var/www/website and
> intending to serve out html and process PHP files from all folders below
> that?

Maybe is that you just missed the AddType/AddHandler directive for 
managing the ".php" files.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jmtu6t$g9$4...@dough.gmane.org

Reply via email to