I got this in my e-mail
Home › .htaccess and Mod Rewrite › How to Change your PHP Version
How to Change your PHP Version
Here at Site5, we offer multiple versions of PHP. Below we have outlined the current versions available and how to use them.
Currently the default version of PHP is 5.3.x. If you want to use PHP 5.2.x or 5.4.x or if you would like to quickly change back to PHP 5.3, just add one of the following commands to your .htaccess file.
PHP 5.2
AddHandler application/x-httpd-php52 .php
PHP 5.3 (Default)
AddHandler application/x-httpd-php53 .php
PHP 5.4
AddHandler application/x-httpd-php54 .php
Note: Below is the direct PHP 5.2, 5.3 and 5.4 binary paths.
/usr/local/php52/bin/php
/usr/local/php53/bin/php
/usr/local/php54/bin/php
Category Posted in: .htaccess and Mod Rewrite, PHP
Tags: 5.3, enable php, php 5.3
Category Posted in: .htaccess and Mod Rewrite, PHP
Tags Tags: 5.3, enable php, php 5.3
Date Posted Posted on:
Friday, September 9th, 2011
3 Comments | Leave Comment
View All Categories
Search KB Articles
Ask a Question
Still have a question? Or need help?
See an error in this article or want to suggest a missing topic? Please leave us a comment below! If you need technical support with your account, please email us, chat live with a representative, or call us!
3 Comments + Add Comment
Brewtus October 9, 2011 at 11:58 am
Where exactly in the file is this command added?
Thanks!
Reply
Graham McMillan October 10, 2011 at 2:50 pm
The file will usually be in your "public_html" directory, but it's not created by default. If you don't have one, you can create a blank text file called .htaccess and then add in your modifications.
Reply
I don't know what this is.
:baghead:
Just letting you know that they upgraded php to a newer version and how to use older versions if your sofware requires it. You should be fine. :)