Migrating from PHP 5.6 to 7.2 breaks site
-
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]
- The topic ‘Migrating from PHP 5.6 to 7.2 breaks site’ is closed to new replies.