Varial Technologies - The Future of Web Hosing is Here

$3.59 /mo* : 1 GB Disk Space, 25 GB Bandwidth, Unlimited Emails, 99.9% Uptime, cPanel, Fantastico, Website Builder, PHP / MySQL. See all plans

Knowledgebase

How do I switch between using PHP 4 and PHP 5?

PHP 5 is the default installation of PHP on our servers and will parse .php and .php5 files.
PHP 4 is the secondary installation of PHP on our servers and will parse .php4 files.

If you'd like to make PHP 4 parse .php files, simply paste the following line of code into a .htaccess file:

AddHandler application/x-httpd-php4 .php



Was this answer helpful?

Add to Favourites
Print this Article