How to fix HostGator PHP version problem to run WordPress 3.2?

As I was talking about the minimum requirement of WordPress 3.2 and GoDaddy running older version of PHP and MySQL, one of my clients informed me that HostGator is also running older version of PHP.

Oooops on HostGator too!

I contacted HostGator customer service and they informed me that by default HostGator runs PHP 5.2.15 and MySQL 5.1.52. But there is a fix to use PHP 5.2.3 on HostGator:

We currently have 5.3.5 installed on all servers. A handler for PHP 5.3 is added to our shared and reseller servers for those who wish to utilize it. In order to utilize this handler, you will need to add the following code to your .htaccess file:

AddType application/x-httpd-php53 .php

And it works! I hope this fix will make many unhappy HostGator customers happy tonight.

Good night (from London).

Jinnat Ul Hasan

By | On Wednesday, July 6th, 2011 | Under How To's, News | 3 Comments ยป


Contact our experts, most of the time we assist our readers free of charge.

Those who found this page were searching for:

  • php 5.3 mysql hostagator problems
  • upgrade hostgator php version
  • wordpress 3.2 out of memory httpd
  • hostgator php 5.3 handler download
  • php version 5 hostgagor
  • update php in hostgator
  • hostgator php memory
  • how to upgrade my php in hostgator
  • php hostgator problem
  • wordpress php version problem
  • Jim

    Thanks for the tip but this update caused a problem for me and I had to revert. Adding that script (Which HG support also told me to do) caused an issue where some of my site pages downloaded as files instead of opening in the browser.

    When trying to view the page my browser (FF) put up a download screen saying “you have chosen to open *pagename* which is a: application/x-httpd-php53 , and it asked me to chose a program to open it with or choose where to save it. This happened for some but not all pages. Do you know if this is a WordPress 3.2 issue or is it some issue with that fix?

    Any help would be most appreciated.

  • Good info to have on hand. I’m not ready to make the jump to 3.2 yet. I have 40+ plugins .. sigh. So I need to do tests on my test site for a while before I upgrade on my live site.

Previous post:

Next post: