Add something like this to httpd.conf:
# PHP3 support
<IfModule mod_php3.c>
AddIcon /icons/php3.gif .php3
AddIcon /icons/phps.gif .php3s .phps
AddType application/x-httpd-php3-source .php3s .phps
AddType application/x-httpd-php3 .php3 .phtml .php .inc .html
</IfModule>
# End of PHP3 support
By including ".html" above, every .html file served is parsed by php. This
adds a very slight amount of overhead, and lets you me use php script in
everything.
At 07:41 PM 2/26/2001 -0800, Cory Petkovsek <[EMAIL PROTECTED]> wrote:
...
>I've got apache up, with php4 installed. Php4 scripts work fine. I've got
this program I'm trying to use that says it works with php4, yet the files
are all named *.php3. Does anyone know what I'm missing for apache setup?
When I click on a .php3 file, netscape wants to download it. On a .php file
it runs.
...