wordpress – plugins wouldnt work on php4 so turned php5 plugins still think it php4?

Aug 20th, 2015

A frequently-asked question:

I turned on php5 via cpanel but the plugins I’m using still think it is php4. I’ve tried removing and deleting them and also reinstalling them.

How do I tell wp or the plugins its now php5. Thank you very much, I have fixed the problem the problem was there was no php.ini file. I’m not sure how you checked out who my hosting company is as its blackhostess.com.

Suffusion works with php5 nicely.
As for cache plugin, yes I do have one that’s why I need php5 to make it work so I knew it wasn’t a cache issue lol.

Again thank you very much for helping was beginning to think no one could lol.


Answer: This is quite a popular question. Web hosting is one of the most important part of your business and can mean the life or death to your business.

If you cannot find the answer to your question like above, that just means that you have chosen the wrong web hosting service. A good host should have a good support. They should have a knowledgeable technical support staffs that can be contacted 24/7 either via live chat, email, phones or support ticket.

To answer your question, why not try Hostgator. If you need an “unlimited” hosting plan, experts usually highly recommend going with Hostgator because they are the best domain hosting around.

A Reminder from Hostgator:

  • Script Compatibility

    Before switching to PHP 5.3, be aware of backwards compatibility issues with scripts; Older PHP coding may not be compatible with newer versions of PHP. Using PHP 5.3 will break any sites requiring Zend or ionCube that were encoded with PHP 5.2. We recommend checking with the application developer for a 5.3 version.

  • Custom php.ini Compatibility

    If you are using a custom php.ini file that references PHP modules that are not available with PHP 5.3, your site may not work. Either remove the custom php.ini file (which will cause the server to use the default php.ini file for PHP 5.3), or create a php.ini file that is compatible with PHP 5.3.

Below is the table of php support from Hostgator.

Hosting Type PHP 5.2.x PHP 5.3.x PHP 5.4.x PHP 5.5x OS
Shared Hosting Yes
Configuration Plugin
Yes
Configuration Plugin
Yes
Default
YesConfiguration Plugin LINUX
Windows Shared Hosting Yes
Select in Plesk
Yes
 Select in Plesk
No
Select in Plesk
No
Not Available
WIN
Reseller Hosting Yes
Configuration Plugin
Yes
Configuration Plugin
Yes
Default
Yes
Configuration Plugin
LINUX
SEO Hosting
SEO Hosting now has its own support team!

Visit the SEO Hosting website for contact information, including a new SEO phone number (866-692-9231) and updated chat support buttons.

HostGator staff no longer has access to SEO Hosting accounts and all future support requests should be sent to the new SEO Hosting Support Team.

VPS Hosting with cPanel Ticket Required
Upon
Request
Ticket Required
Upon
Request
Yes
Default
Ticket Required
Upon
Request
LINUX
VPS Hosting with Plesk No
Not Available
Yes
Default
No
Not Available
No
Not Available
LINUX
VPS with VZ Only Since this is a bare bones installation,
PHP is not installed by default,
but you can install any version you like.
LINUX
Linux Dedicated Servers Ticket Required
Upon
Request
Ticket Required
Upon
Request
Yes
Default
Ticket Required
Upon
Request
LINUX
Windows Dedicated Servers Yes
 Select in Plesk
Ticket Required
Select in Plesk
Ticket Required
Select in Plesk
No
Not Available
WIN

What if you find out that Hostgator sucks after you signed up with them? HG has an amazingly long, 45 days money back guarantee so you have ample time to test them out. They are rated A+ by Better Business Bureau which shows their commitment to customer satisfaction. You also do not have to pay for the first month. You can just try their fully functional hosting service – you pay only $0.01 (you need to use the special coupon ). Do you know any other hosting company that can give you that kind of assurance? Anybody can grab an account from Hostgator for almost FREE.

How to Get an Unlimited Hosting Plan for Only 1 Cent

Click the coupon below try Hostgator cPanel hosting for almost free. If you already know that Hostgator is what you want, you can even save 25% off the normal price with the Hostgator coupons 2015 below.

Who Should Not Try Hostgator

To be honest, no web hosting service is perfect. Drawback of Hostgator includes:

  1. No free domain name – but you can easily get a domain name from the best domain registrar such as Godaddy or Namecheap for $10 or less. Would you agree that a website is not complete without a domain name?
  2. You need to pay full price after your first invoice – well, they need to make money too and all the support and great service do come with a cost

If you are still not sure if HG is right for you, or you have specific query about anything at all, try the Live Chat at HG. They are fast and knowledgeable. Just shoot them some questions before you decide.

  1. AIT-pro.com
    Jan 1st, 2013 at 03:26
    Quote | #1

    Checked your website if it is spotcream.com. I see that you have Glowhost as your web host – has PHP5 available. You have WordPress 2.9.2 installed – Currently WordPress works on both PHP 4 and PHP 5 based platforms so that is not the cause of the PHP5 problem. Your using the Suffusion WordPress Theme – Older Themes and Plugins may have PHP code that will not work with PHP 5. You should check with the Theme authors for any PHP5 issues with your Theme and see if they have updated Theme versions. I didn’t check this out so you should double check to see if their are any issues with the older versions of the Suffusion WordPress Theme.

    You most likely already did this – Did you create a phpinfo.php file to double check that you really have PHP5 running on your web host server?

    For anyone who may want to know how to do this:
    Create a text file called phpinfo.php with the following code below and upload it to the root of your server and run it by typing in your URL with /phpinfo.php at the end of the URL Example: www.yourwebsite.com/phpinfo.php

    <?php
    phpinfo();
    ?>

    Are the Wordpess Plugins you are using main stream widgets or are they custom WordPress widgets? I assume your widgets are supposed to work with PHP5 by the way you phrased your question.

    This could possibly solve the PHP5 problem so it is worth a try.

    You should already have an .htaccess file for your WordPress website. If you don’t then automatically generate one for your WordPress website by going to your Settings panel in your WordPress Dashboard, then click on Permalinks and then click the Save Changes button. This should create an .htaccess file for your WordPress website and add it to the root of your domain.

    Now download the .htaccess file via FTP and add this command to the very top of the new .htaccess file.

    SetEnv PHP_VER 5

    *** you may need to add a handler to your .htaccess fil as well – this just depends on your host so you will need to check with them or their FAQ/Help files.

    AddHandler x-httpd-php5 .php
    or maybe
    AddType x-mapp-php5 .php

    Also there could be other problems with your .htaccess file if you already had one that could be causing this problem.

    The other thing I thought of – this is an obscure outside possibility, but worth checking – if you have a WordPress caching plugin installed you need to delete the cache and disable the plugin and then re-enable it.

    Hope one these things works for you. Good luck! 😉

Comments are closed.