• Hi guys,

    I have problems with my website (build with wordpress) when i upgrade the software of my web host from Apache 2.4 + PHP 5.6 to the latest version Apache 2.4 + PHP 7.3.
    When i upgrade and i open my website i get error 500.

    I have wordpress version 4.2.24 installed.

    Anyone can help me with this issue?

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Errors like this are logged. Check the error log on your server. If you can’t find the log, please contact your host.

    Meantime, enable wp_debug and wp_debug_log and after an error, look at wp-content/debug.log to see if anything gets logged there. https://wordpress.org/support/article/debugging-in-wordpress/

    You can also try this: Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    If you cannot access wp-admin, there are other ways to deactivate plugins.

    Put it back on PHP 5.6 and get the plugin PHP Compatibility Checker. It will scan your theme and plugins for PHP version issues.
    You can either change the code in the plugin to solve the issue (report it to the plugin’s support forum) or find a replacement plugin.
    Once you have all the issues addressed, you can update your WP version, and then your PHP version.
    (You can use a plugin called WP Downgrade if you want to go to a specific WP version.)

    Thread Starter jason1975111

    (@jason1975111)

    thank you for your help.
    I will follow your advice and will let you know.

    Thread Starter jason1975111

    (@jason1975111)

    i hope the upgrade from wordpress to 4.2.24 to 5.2.3 is not a problem?
    Or is there also a compatability check i can do to upgrade wordpress to the latest version?

    No, it should not be a problem. Each release has a function in the upgrade.php file, so anything that needs to happen for that release gets handled. The functions run in the order of release, so it’s as if you actually went through each one, but didn’t have to do all the button clicking or downloading each version.

    Just in case anybody needs to know in the future (as I needed to know today!), WordPress 4.2.24 will NOT run on PHP 7. You have to use 5.2.3 to get it to run.

    It’s not a plugin problem. Version 4.2.24 of the WordPress core itself won’t run on PHP 7.

    • This reply was modified 4 years, 6 months ago by Jon York.
    • This reply was modified 4 years, 6 months ago by Jon York.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘website not working when web host upgrade’ is closed to new replies.