Re: RE: Upgrade to 4.0.2 from 3, server now sending code
| From: | Jos� Ildefonso Camargo Tolosa | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: RE: Upgrade to 4.0.2 from 3, server now sending code | ||
| References: | 1 2 3 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-46@lists.php.net to get a copy of this message | ||
Hi again!,
Ok, This is just like it is on my httpd.conf:
# 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 .php3
AddType application/x-httpd-php-source .phps
AddType application/x-tar .tgz
Note that I disabled the php3 module
If you have already done this, send (tar/gzip) the config files of your web
server.
I don't use srm.conf at all.
If you want, I can send you the whole httpd.conf.
c-ya!
Mensaje citado por: Mike Glover <mpg4@duluoz.net>:
> 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
>
>