RE: [PHP4BETA] PHP4b3 & Apache 1.3.11 on Linux - getting download of .php!
| From: | David McMahon | Date: | Mon, 07 Feb 2000 03:46:47 +0000 |
| Subject: | RE: [PHP4BETA] PHP4b3 & Apache 1.3.11 on Linux - getting download of .php! | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-9886@lists.php.net to get a copy of this message | ||
Thanks, yes tried the following different Addtype
configurations:
AddType application/x-httpd-php .php
AddType application/x-httpd-php4 .php
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php4 .php
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
What's weird is that the it seems to be recognizing
the type, because in Netscape when it asks to save the
file, it says "save file of type: application/x-httpd-php".
dave
> -----Original Message-----
> From: Simon Roberts [mailto:simon@airdmhor.gen.nz]
> Sent: Sunday, February 06, 2000 10:39 PM
> To: David McMahon; php4beta@lists.php.net
> Subject: Re: [PHP4BETA] PHP4b3 & Apache 1.3.11 on Linux - getting
> download of .php!
>
>
> That second line is overwriting the first line. Remove it and you'll be
> fine.
>
> ----- Original Message -----
> From: "David McMahon" <djm@mcmahons.com>
> To: <php4beta@lists.php.net>
> Sent: Monday, February 07, 2000 1:44 PM
> Subject: [PHP4BETA] PHP4b3 & Apache 1.3.11 on Linux - getting download of
> .php!
>
>
> >
> >
> > Hi,
> >
> > This has got to be one of the most common problems
> > and I'll probably slap myself when I found out, but...
> > Everything looks fine as far as I can tell.
> >
> > I just configured/made/installed this on
> > Linux Slackware 2.2.10:
> > 1. Fresh compile of apache 1.3.11 and PHP4.b3
> > 2. httpd -l
> > Compiled-in modules:
> > <other modules snipped>
> > mod_php4.c
> > 3. /usr/local/lib/php.ini (the default)
> > 4. In my httpd.conf:
> > AddType application/x-httpd-php .php
> > AddType application/x-httpd-php4 .php
> > AddType application/x-httpd-php-source .phps
> > ** I confirmed the use of this file by putting
> > a syntax error in at the first
> > AddType line you see above and apachectl configtest found it
> > 5. Restarted Apache countless times
> >
> >
> > Problem: .php files are asking to be downloaded on the browser side.
> > The server does not appear to be processing the .php's. Everything
> > looks right here. What am I doing wrong?
> >
> > thanks for reading -
> > dave
> >
> > ==============================================
> > David McMahon Ph: 617.746.9545
> > mailto:djm@toolix.com Fax: 617.746.9549
> > TooliX, Inc. http://www.toolix.com
> > ==============================================
> >
> > --
> > PHP 4.0 Beta Mailing List
> > <http://www.php.net/version4/>
> > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> > For additional commands, e-mail: php4beta-help@lists.php.net
> > To contact the list administrators, e-mail: php4beta-admin@lists.php.net
> >
>