I added that into the apache2.conf file, as that file had two other addtype
entries in it (apparently apache2 is breaking up the httpd.conf file in 3
others compared to apache1), right below the two others.
I attempted to add the php5 module to the actions.load file
(/etc/apache2/mods-enabled), and I already had the AddDirectoryIndex entry
from a previous attempt to get this working. After saving the files, I
attempted a restart of the apache server, and got this:
media:/etc/apache2/mods-enabled# /etc/init.d/apache2 restart
Forcing reload of web server (apache2)...[Sat Jan 20 15:34:51 2007] [warn]
module php5_module is already loaded, skipping
apache2: Could not reliably determine the server's fully qualified domain
name, using 127.0.0.1 for ServerName
httpd (no pid file) not running
[Sat Jan 20 15:35:01 2007] [warn] module php5_module is already loaded,
skippingapache2: Could not reliably determine the server's fully qualified
domain name, using 127.0.0.1 for ServerName
The webserver is running at this point, at least locally (don't have the
ability to test it from the outside right now). Is the ability to determine
the FQDN possibly a problem (I couldn't find where to change the
domain/hostnames in the confs)?
eric
On 1/20/07, Devin Atencio <
devin@phpcodeguru.com> wrote:
>
>
> 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(c) 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
>
>
---------------------------------------------------
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