RE: Upgrade to 4.0.2 from 3, server now sending code
| From: | Mike Glover | Date: | Wed, 27 Sep 2000 07:10:01 +0000 |
| Subject: | RE: Upgrade to 4.0.2 from 3, server now sending code | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-58@lists.php.net to get a copy of this message | ||
I just tried this -- no change. I still get raw code sent to
my browser. I've downgraded to 3.0.16 (static) and everything
works beautifully. I'm just confused.
I'm willing to send whatever info about my setup people would
find useful, but I don't want to clutter -- tell me what you
want to see, and I'll send it.
-mike
On Tue, 26 Sep 2000, José Ildefonso Camargo Tolosa wrote:
>
> Hi!
>
> It happened to me too, it is indeed a config error.
>
> Mensaje citado por: Mike Glover <mpg4@duluoz.net>:
>
> >
> > I just upgraded to php 4.0.2 (static) from php 3 (dso). No
> > errors during compile/configure, and apache starts up fine. When
> > I view a php file, though, no php gets interpreted -- I get sent the
> > code. I have:
> >
> > AddType application/x-httpd-php3 .php3
> > AddType application/x-httpd-php .php
> > AddType application/x-httpd-php .phtml
> >
>
> Try this:
>
> AddType application/x-httpd-php .php .php3
> AddType application/x-httpd-php .phtml
>
--
"don't you know about the new fashion, honey?
all you need are looks and a whole lotta money"
-- billy joel
GnuPG key available at http://devel.duluoz.net/pubkey.asc
Key ID = 1024D/9A256AE5 1999-11-13 Mike Glover <mpg4@duluoz.net>
Key fingerprint = EF6E 8BCB 4810 E98C F0FD 4596 367A 32B7 9A25 6AE5