Last week our hosts upgraded from php 5.6 to 7.0.
Our store stopped working so the hosts rolled us back to 5.6 which is still available for a few weeks. That resolved the immediate issue. However we need to be able to move to 7.0 etc.
We have taken it as an opportunity to upgrade to the latest ecommercetemplates stability version (6.7.2 from 6.2 I think - originally installed Sep 2014) in case that makes the transfer more straightforward.
Could you confirm that this 6.7.2 version will be likely to be OK for php 7.0? Could you also let me know if there is anything that you know I would need to do to enable this change to work this time?
I'm sure I've seen some reference to another store operating on php 7 so assume that we'll find a way! I'm not a coder, and need this to be reasonably straightforward.
Thanks!
For your info, the host has outlined the following as the changes involved:
PHP Changes:
PHP 7.0 will be installed on all servers.
PHP 7.0 will be set at the default for all sites on the servers.
PHP 5.6 (the current version) will remain on the server for a period of 1 month after the upgrade.
This link provides documentation on bringing your PHP code up to date.
MYSQL Changes:
MySQL 5.6 will be upgraded to MariaDB 10.1
Known incompatibilities are listed here and here.
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