Apache2 and Debian
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
Maybe is that you just missed the AddType/AddHandler directive for
managing the ".php" files.
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org