You are Here: FAQ ->Scripting and Programming Languages->Configuring Apache Webserver using .htaccess->Article #5


WebHosting 5.0 This article is for 1&1 Linux WebHosting only.


How can I get .php files parsed as PHP 4?



By default .php files are parsed as PHP 4 on 1&1 Servers.

However there are still a lot of .php3 scripts out there that don't work. What you
need to do is either create a new .htaccess file or edit an existing one.

1. Create or edit .htaccess file in your main directory to include the following line:

AddType x-mapp-php4 .php3

2. Upload or save the file. The changes are immediate.
This also solves the problem with phpMySQL asking for magic quotes to be turned on.


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