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: Upgrade to 4.0.2 from 3, server now sending code | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-38@lists.php.net to get a copy of this message | ||
Hi!
It happened to me too, it is indeed a config error.
Mensaje citado por: Mike Glover <mpg4@duluoz.net>:
> All-
> Subject: [PHP-INST] Upgrade to 4.0.2 from 3, server now sending code
>
> 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
> in srm.conf, and:
>
> AddModule mod_php4.c
> php_admin_value engine On
>
> in httpd.conf. This smells like a stupid config error, but I just
> can't find it. Anybody? TIA
>
> -mike
>
> --
>
> "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
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> For additional commands, e-mail: php-install-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>