My.Holdfire
Please Login or Register

Knowledgebase

How can I force PHP5 to execute all .php files?

Our servers utilize PHP 4 by default, however they are also set up to use PHP5. If you would like to use PHP5 on your website (or just a specific directory) you can simply do so by creating an .htaccess file in the directory requiring PHP5. To change this for your entire website, simply create this in the root directory (public_html).

 

Add the following into an .htaccess file:

 

AddHandler x-httpd-php5 .php

 This will tell Apache to use PHP5 for all files that end with a .php extension. 



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read

Quick Navigation

Client Login

Email

Password

Remember Me

Search



Follow Us on Twitter