attemping to set up a LAMP server

Devin Atencio devin at phpcodeguru.com
Sat Jan 20 14:53:02 MST 2007


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 at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20070120/2b2ff1ea/attachment.htm 


More information about the PLUG-discuss mailing list