Click to See Complete Forum and Search --> : Making php4 read .php3 files


Anon
07-05-2000, 05:07 PM
How do I instruct Apache to use php4 to interperet files that are named filname.php3?

Currently it only uses .php as an extension

I have the AddType line but when i put .php3 on it... it fails..

Mike

Anon
07-05-2000, 05:34 PM
Put a space and .php3 after the .php

example:
AddType application/x-httpd-php .php .php3 .inc

p.s. - if you use include files you can add the .inc, like above or name them .php

hope this helps.
Pete

Anon
07-07-2000, 04:05 PM
I had the proper syntax.. just when I restarted apache it didn't take right away.. I had to refresh a couple of times.. strange..