How To Enable PHP5 on Addon Domains with Lunarpages Hosting

September 8th, 2008 · No Comments

Enabling PHP5 on Lunarpages HostingAs I was installing TYPO3 on my Lunarpages account yesterday, I noticed that PHP4 was the active version on my account. This sort of confused me as I thought I enabled PHP5 through cPanel as they mention in their knowledgebase. I soon found out that enabling PHP5 through cPanel will only work for you main domain and not for any additional domains you might have added.

Here’s how to enable PHP5 for addon domains on Lunarpages:

  1. Use your favorite FTP client to connect to your Lunarpages hosting account.
  2. Browse to your addon domain directory and look for a file named .htaccess
  3. If there’s such a file, download it to your computer and if not, create a new one locally.
  4. At the top of your .htaccess file, add the following lines:
    AddHandler application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml
    AddType application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml
    
  5. Save the file and upload it back to your server, overwritting the current .htaccess file (if there’s already one).

And that’s it! PHP5 should now be enabled for your addon domain. Repeat this procedure for any additional domains you might have.

Lunarpages Reviews and Coupons

0 responses so far ↓

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment




 
 
 

Tutorials by Category

 
 
 
 

Recent Comments