You need to make sure inside your httpd.conf You have the line:
AddType application/x-httpd-php .php
Then you will need to make sure you restart apache and the problem
should be fixed
assuming PHP was loaded into Apache.
Devin Atencio
On Jan 20, 2007, at 2:47 PM, eric© wrote:
> First off, I'm still a Linux n00b...while I've got the basics of
> Linux down, venturing beyond basic confs and apt-get is still
> beyond me, and I seem to have found myself in that "beyond me" area.
>
> My ultimate goal is to get Gallery2 running, so that I can
> gracefully do photos on my webserver. I have Apache2, mysql-
> server, php5, and Gallery2 installed (whatever apt-get grabs).
> This is on a Debian etch system (installed about a week ago)
> Apache2 _appears_ to work correctly, and my page is visible at
> www.urbexgrp.com from the outside. I was able to successfully
> create a gallery2 database using mysqladmin. But regardless of
> what I do, I can't get .php files to execute in a browser (always
> just shows the source code). I've spent the past week attempting
> to get php and apache to play nicely together, and well, I'm lost.
> I've spent so many nights awake, and tried so many things, I've
> lost track of what I did.
>
> Should I be not messing with apt-get with all this? Should I be
> installing/compiling from source code?
>
> eric
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss