• Resolved Dylan Ko

    (@gonnector)


    I am using WordPress(WP) 3.5.1 based on Bluehost.

    I have installed plugin Google+ Comments for WordPress and activated it, but it couldn’t because PHP version is under 5.3

    I noticed that default PHP version is 5.2.17 so I changed it at PHP Config of Bluehost cPanel to PHP 5.3 (Single php.ini). I also have checked the information showed on Bluehost that current PHP version is 5.3.25.

    But it did not work. The error message of the plugin was still in WP, so I checked the PHP version that WP is perceiving by plugin PHP Server Info.

    It says the PHP version is ‘5.2.17’.

    Why the PHP version is not the same with setting of PHP Config of Bluehost, 5.3?

    I want to use the plugin…. Please, help me. How can I to solve this problem?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I know that at Bluehost when you change the phpConfig that it will modify the .htaccess file in your main public_html folder.

    If this WordPress that you want to change is in a sub-folder, it might have it’s own .htaccess that’s causing it to not use the main one. Try to find the line of code in your main .htaccess for php 5.3 and copy it to the .htaccess where your WordPress is located.

    Thread Starter Dylan Ko

    (@gonnector)

    Dear BH_WP_Guru,

    You are really Bluehost and WordPress guru like your nickname !!

    I solved the problem by your advice exactly.

    Thank you so much and God bless you.

    elmalak

    (@elmalak)

    @bh_wp_guru,
    I tried to follow the same advice after upgrading from PHP 5.2.17 to 5.4 via cPanel, but it still shows the old version although I’ve added the code below to the specific .htaccess file in that sub-domain.

    # Use PHP5.4 Single php.ini as default
    AddHandler application/x-httpd-php54s .php

    What’s even stranger is that I have 3 other sub-domains on the same account and all of them show the updated version after doing the switch!

    Any idea what might still be causing this?

    Many thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP version difference after changing it at Bluehost PHP Config’ is closed to new replies.