Installation quirk
| From: | Gianugo Rabellino | Date: | Tue, 01 Jun 1999 12:33:45 +0000 |
| Subject: | Installation quirk | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-1214@lists.php.net to get a copy of this message | ||
Hi,
just a brief note, since I spent the whole morning trying to figure
what I was doing wrong, while the "mistake" was in the php4 source:
in mod_php4.c you can find:
handler_rec php_handlers[] =
{
{"application/x-httpd-php", send_parsed_php},
{"application/x-httpd-php-source", send_parsed_php_source},
{"text/html", php_xbithack_handler},
{NULL}
};
while the installation instruction refer to the old
AddType application/x-httpd-php3 .php3
or maybe to
AddType application/x-httpd-php4 .php4
(since they mention to change every reference from php3 to php4),
but never, ever *ever* :) to
AddType application/x-httpd-php .php3
Bug or feature? :) In php.h there is still:
#define PHP3_MIME_TYPE "application/x-httpd-php3"
BTW: at a first glance my scripts seem to work OK with Zend, so
keep up the good work! :)
--
Gianugo