Effective July 2018, WestHost will update all our servers by installing PHP 7.2. This could potentially affect the functionality of your site. This article will inform you of the changes that will take place due to the upgrade.
What is Changing?
PHP Changes:
PHP 7.2 has been installed on all servers.
PHP 7.2 will be set as the default for all server sites.
PHP 7.0 (the current version) will remain on the server for 1 month after the upgrade.
These links provides documentation on bringing your PHP code up to date. PHP 7.0 to PHP 7.1 and PHP 7.1 to PHP 7.2
MYSQL Changes:
MariaDB 10.1 will be upgraded to MariaDB 10.2
Known changes and incompatibilities are listed here.
- MariaDB enables "strict mode" by default as of version 10.2. Strict mode controls how MariaDB and MySQL handle invalid or missing values in data-change statements such as INSERT or UPDATE. Applications not built with strict mode enabled may cause undesired behavior; please verify applications are built with strict mode. More information about strict mode is available here.
What Modules Will Be Affected By The Upgrade?
The following Module has been installed through a PECL extension in PHP 7.2:
mcrypt
The Following Are PHP 7.2 Modules:
bcmath
bz2
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
imagick
imap
intl
ionCube Loader
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
pspell
readline
Reflection
session
SimpleXML
soap
sockets
SPL
sqlite3
standard
tidy
timezonedb
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
Zend OPcache
zip
zlib
Which Of My Files Will Be Affected By The Change?
We will be backing up and making changes to the following client files:
htaccess files
Update /opt/cpanel/ea-php70/root/etc/php.ini to /opt/cpanel/ea-php72/root/etc/php.ini
Update application/x-httpd-ea-php70 to application/x-httpd-ea-php72
cron jobs
Update /opt/cpanel/ea-php70/root/ to /opt/cpanel/ea-php72/root/