• Resolved wordpsam

    (@wordpsam)


    Hi guys,

    Need to update a WP site running WP5.1 + all plugins up-to-date to run on PHP 7.2
    Go the site running locally via MAMP – remote backup – using PHP 7.2.14.

    However, when switching to the same on the remote site I get 500 errors all over the place. Switching back to PHP 5.6 and all rund normal again.

    I compared PHP extensions and the only discrepancy between local MAMP compared to remote is an extension called ‘sodium’ – which for my understanding is not crucial for running WP.

    A list of the extensions in use:
    _bcmath
    +bz2
    _calendar
    _cgi-fcgi
    _core
    _ctype
    _curl
    _date
    _dom
    _exif
    +fileinfo
    _filter
    _ftp
    _gd
    +gettext
    _hash
    _iconv
    _imap
    +intl
    _json
    +ldap
    _libxml
    _mbstring
    _mysqli
    _mysqlnd
    _openssl
    _pcre
    _PDO
    _pdo_mysql
    _pdo_sqlite
    +pgsql
    _phar
    _posix
    _readline
    _reflection
    _session
    _simpleXML
    _soap
    _sockets
    sodium
    _SPL
    _sqlite3
    _standard
    _tokenizer
    _wddx
    _xml
    _xmlreader
    _xmlwriter
    _xsl
    _zip
    _zlib

    ** where _ symbolises extension was active on remote, + extension added to remote post setup

    So… bit lost. Apache error log doesn’t show anything.

    Where from here?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello wordpsam,

    Before you perform any activity, I would suggest you install a Health Checkup plugin and check for the steps/suggestions the plugin provides.

    Maybe that can help you to switch over to PHP7.X bit smoothly.

    Thanks.

    Thread Starter wordpsam

    (@wordpsam)

    Hi Kartik,
    doing that right now – using PHP Compatibility Scanner.

    Still.. the fact that I got a version of the site running on local dev environment with 7.1.2 … there shouldn’t be any major incompatibilities.

    Thread Starter wordpsam

    (@wordpsam)

    I found 2 plugins which got flagged with incompatibilities for 7.2 – however deactivating them didn’t do anything. Still get 500 errors when switching to 7.2

    Thread Starter wordpsam

    (@wordpsam)

    Some crucial plugins don’t seem to be PHP 7 compatible which I believe is source of the issue. I close this topic.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Migrating from PHP 5.6 to 7.2 breaks site’ is closed to new replies.