• GoDaddy Community
  • Managed WordPress Hosting
  • Managed WordPress Hosting

    cancel
    Showing results for 
    Show  only  | Search instead for 
    Did you mean: 
    Go to solution

    Error with upgrading PHP version

    Hello all,

    Recently I created a staging site to test if my production site will work on the new PHP 7+ versions. My website is currently on PHP 5.6.

    However, I could only access the staging site with PHP 5.6, and any other higher versions will just give me this error:

     
    PHP update error.png
     
    Since I have no technical knowledge, can someone guide me on what could have gone wrong? 
    Thanks!

    Note: Core, Plugin, and Theme are all synced.
     
    Staging setting.png
    2 REPLIES 2
    Super User I
    Super User I

    Re: Error with upgrading PHP version

    Hello @NonTechGuy ,

     

    I'm curious, are you running any security plugins (WordFence, Succuri) on the WordPress site? Sometimes if those are enabled and making a big change like that can affect the website due to your security settings. 

     

    You might disable or put in learn mode during the change, so the security plugins can recognize the PHP being used on the website. 

     

    Hopefully, that helps some. 

     


    Very Respectfully,

    Drew Davis
    Navy Veteran and Entrepreneur | GoDaddy Pro user | "Proud to be serving others!"

    *** Please note that I offer free advice on this forum. Please feel free to give me KUDOS on this topic/discussion; mark my comment as ACCEPTED SOLUTION if you believe I've helped solved your issue. Thanks! ***
    Super User III
    Super User III
    Solution

    Re: Error with upgrading PHP version

    @NonTechGuy 

     

    I would suggest the following

    1) using the SFTP info for the staging site login and edit the wp-config.php

    2) Change WP_DEBUG, 'false'   to WP_DEBUG, 'true'

     

    After about 5 minutes you "should" be able to refresh the site and display the error of why it's not loading. This can tell you what plugin maybe having an issue, or if the clone failed along the way and you don't have a good copy.

     

    Hope this helps



    I am a GoDaddy End User - Just Like You
    Check out my site! | I currently manage over 300 WordPress Websites
    * Please note that I offer free advice on this forum. If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

    Once your issue is resolved,
    please be sure to come back and click accept for the solution

    Get Better Support on the Community Boards!
    Etiquette When Asking for Help from the Community