Hostgator Announcements : Using PHP 5 on a PHP 4 server
By web hosting on Jun 21, 2008 in Hostgator Blog
Host unlimited blogs, websites for $4.95 only with this web host
Register domain names for less than a dollar here
Get a VPS or dedicated server for less than $50 Signup Now
Hostgator is our best webhosting provider. Sign up now with Hostgator
This is the official hostgator announcement posted by GatorJess on 19 June 2008
All of our shared and reseller servers now have both PHP 4 and PHP 5 installed. The cPanel software will always reflect your current PHP version in the lower left General Server Information box. (NOTE: If you are on php4 by default and use the .htaccess edit to use php5, cPanel will still reflect version 4 as that is the default server engine. However, php5 can still be used for your scripts.)
If you are using php4 by default and wish to use php5, you can easily configure your account to do so by adding a line to the apache .htaccess file for your account. For the primary domain name on an account, the .htaccess file should be located in the public_html folder. If it does not exist, you may create a text file called .htaccess.
Place the following command in the file, save it, and you should be all set:
AddHandler application/x-httpd-php5 .php
***Please note, if php4 is the default engine, PHP 5 will not work work using a temporary URL. PHP 5 is only accessible when using the domain name to access your account.***
If you have any questions or encounter any issues at all, please don’t hesitate to contact us via LiveChat by clicking on the Live Chat image in the upper right corner of the page, or via ticket by emailing support@hostgator.com or submitting a ticket at http://tickets.hostgator.com .
Read this announcement in full or sign up with hostgator here
Related Posts :- Hostgator Announcements : How to configure your account to use PHP 5
- Hostgator Announcements : PHP5 Being Rolled Out Per Request
- Bluehost : x-httpd-php errors
- Hostgator Announcements : Htaccess Generator
- Hostgator Announcements : PHP4 pending removal from all servers
- Hostgator Network : https & PHP 5
- Hostgator Announcements : PHP Updates
- Hostgator Network : my site down due to the handler
- Lunarpages : Zeus Migration to San Diego - December 4, 2008
- Lunarpages : Zelter Migration to San Diego - December 4, 2008
This web hosting blog is proudly hosted with reliable Hostgator webhosting for only one cents through this hostgator coupon. If you're new here, you may want to subscribe to this web hosting RSS feed









Sorry, comments for this entry are closed at this time.