php-install | 2004112
Date: 11/27/04
- Next message: Brad Kowalczyk: "Re: [PHP-INSTALL] php shows as text"
- Previous message: Brad Kowalczyk: "Re: [PHP-INSTALL] 4.3.9 build problem - libphp4.so is not created - FreeBSD 4.6.2, Apache 1.3.26"
- Next in thread: Brad Kowalczyk: "Re: [PHP-INSTALL] php shows as text"
- Reply: Brad Kowalczyk: "Re: [PHP-INSTALL] php shows as text"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi list,
Yes I've searched the archive ;)
I have a strange thing, which must be a something trivial.
My .php files run as expected, but as soon as I try to run a script from
an extentionless file, it shows up as text; the source is shown.
I saw on the php.net faq that if that happens I should replace the
AddType application/x-httpd-php .php .phtml with AddType text/html php
and add AddHandler php-script php to my httpd.conf, which I did. Saved,
restarted, but still the same thing.
As soon as I add .php to the file, it runs just beautifully. Why not
just add .php you might say, but it is part of a larger installation,
which calls these extentionless files, so that is no option.
Any hints?
Thanks
-Patrick
- Next message: Brad Kowalczyk: "Re: [PHP-INSTALL] php shows as text"
- Previous message: Brad Kowalczyk: "Re: [PHP-INSTALL] 4.3.9 build problem - libphp4.so is not created - FreeBSD 4.6.2, Apache 1.3.26"
- Next in thread: Brad Kowalczyk: "Re: [PHP-INSTALL] php shows as text"
- Reply: Brad Kowalczyk: "Re: [PHP-INSTALL] php shows as text"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

