Activating PHP5 in Godaddy Hosting

This is a quick and simple rewrite used to activate php5 and rename the handlers for php4. The following code will need to be in the root dir .htaccess file for global changes.

 

Options +FollowSymLinks
RewriteEngine On
RewriteBase /

# switch GoDaddy's php extension handling for php5
AddHandler x-httpd-php5 .php
AddHandler x-httpd-php .php4

0 Responses to “Activating PHP5 in Godaddy Hosting”


  1. No Comments

Leave a Reply