myshophosting FAQs

Knowledgebase Home | Glossary | Favorites | Login Knowledgebase Home | Glossary | Favorites | Login
Can I run PHP 5 applications?
Article Details

Last Updated
15th of July, 2009

Yes!

Depending on which server your site is hosted on the default PHP handler will be either PHP4 or PHP5.

If your site is hosted on one of our PHP4 servers you can request that your site be transfered to a PHP5 server or you can enable PHP5...

Simply create a .htaccess file in the folder where you want to run PHP 5 and include the following two lines of text in the file:

# Use PHP5 as default
AddHandler application/x-httpd-php5 .php

Once you save this file, PHP5 will be used to process all .php files in this folder.

Related Articles
No related articles were found.
Attachments
No attachments were found.