Effective April 24, 2017, WestHost will be updating all our servers by installing PHP 7.0. 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.0 will be installed on all servers.
PHP 7.0 will be set as the default for all sites on the servers.
PHP 5.6 (the current version) will remain on the server for 1 month after the upgrade.
This link provides documentation on bringing your PHP code up to date.
MYSQL Changes:
RoundCube Changes:
RoundCube will be converted to use SQLite databases inside the account
An overview of this process can be found here.
What Modules Will Be Affected By The Upgrade?
The following Modules are not available in PHP 7.0:
ereg
mhash
mysql (use PDO or mysqli)
Zend Guard Loader
The Following Are PHP 7.0 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
mcrypt
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-php56/root/etc/php.d to /opt/cpanel/ea-php70/root/etc/php.d
Update application/x-httpd-ea-php56 to application/x-httpd-ea-php70
Custom php.ini files
Comment out Zend configuration
cron jobs
Update /opt/cpanel/ea-php56/root/etc/php.d to /opt/cpanel/ea-php70/root/etc/php.d