WordPress.org

Forums

WordPress and PHP 5.6 (3 posts)

  1. luciendub
    Member
    Posted 1 year ago #

    Hi,
    I would like to know if it is recommended to use PHP 5.6 instead of PHP 5.5? I mean, had WordPress been tested with PHP 5.6?

  2. It hasn't been thoroughly tested with PHP 5.6 but looking at the backwards compatibility changes it should work. http://docs.php.net/manual/en/migration56.incompatible.php

  3. Erick Hitter
    Code Wizard
    Posted 6 months ago #

    I've recently upgraded my VPS to PHP 5.6 and WordPress 4.0 is working just fine. I run multisite (https://ethitter.com/), MySQL 5.6, and use Redis extensively, so mine is not exactly a standard setup. I don't, however, have many third-party plugins installed (Jetpack being a notable exception). The only downtime during the upgrade occurred while PHP-FPM restarted.

    Granted, this is just one experience, but as Chris noted, none of the breaking changes in 5.6 seem to apply to WordPress Core, so as long as any custom code is similarly free of these incompatible changes in 5.6, upgrading should be safe.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags