You are Here: FAQ ->Scripting and Programming Languages->PHP->PHP Upgrades->Article #5


How can I parse .php3 files using PHP 4?


Create a ".htaccess" file containing the following:

                
AddType x-mapp-php4 .php3

AddHandler x-mapp-php4 .php3


Upload this file into into the root of your domain. The changes take effect
immediately. This will tell Apache to use PHP 4 instead of PHP 3 for the extension .php3
in the directory the .htaccess is placed and all sub-directories under it.


For additional information you can follow this link
Migrating from PHP 3 to PHP 4


Print Article
How useful was this article?
(From 5 = Very Useful to 1 = Not useful at all):
1 2 3 4 5