RE: Apache, PHP, and PHPGroupware

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: David Demland
Date:  
To: plug-discuss
Subject: RE: Apache, PHP, and PHPGroupware
Here is what I have in the http.conf file:

    #
    # AddType allows you to tweak mime.types without actually editing
    # it, or to make certain files to be certain types.
    #
    # For example, the PHP 3.x module (not part of the Apache
    # distribution - see http://www.php.net) will typically use:
    #
    AddType application/x-httpd-php3 .php3
    AddType application/x-httpd-php3-source .phps
    #
    # And for PHP 4.x, use:
    #
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php .phtml
    AddType application/x-httpd-php-source .phps


    AddType application/x-tar .tgz
    AddType image/bmp .bmp


    # hdml
    AddType text/x-hdml .hdml


.
.
.

#
# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index.  Separate multiple entries with spaces.
#
<IfModule mod_dir.c>
    DirectoryIndex index.html index.php3 index.php index.htm index.shtml
index.cgi
</IfModule>


If I use the .php3 it brings up my test file, but all the files from
PHPGroupware use a .php extension and this will not work.

-----Original Message-----
From:
[mailto:plug-discuss-admin@lists.plug.phoenix.az.us]On Behalf Of Richard
Whitney
Sent: Friday, January 07, 2005 9:57 AM
To:
Subject: Re: Apache, PHP, and PHPGroupware


Do your files have a .php3 extension?
Does your httpd.conf list .php3 under AddType?

Quoting David Demland <>:

> I have a Debian server that I have Apache running on. I wanted to install
> PHPGroupware on this server and PHPGroupware required PHP3 installed. So
> after I installed PHPGroupware I started testing the PHP install, all the
> browser wants to do in download the PHP file, it does not want to run the
> PHP file. I have looked all over the internet and I have verified the
> configurations of both Apache and PHP with the information I have found,

yet
> I can not get the PHP file to run.
>
> Any ideas of where I need to look?
>
> Thank You,
>
> David Demland
> PC Everyware, Inc.
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>



R. Whitney
Transcend Development
"Producing the next phase of your internet presence"
http://xend.net
Premium Quality Web Hosting
http://xendhosting.com
rw AT xend.net
Net Binder http://netbinder.net
310-943-6498
602-288-5340

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss