Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Host upgrading from PHP 5.6 to 7.0
Author « Topic »  

BeThe
Starting Member

United Kingdom
11 Posts

Pre-sales questions only
(More Details...)

Posted - 10/03/2017 :  02:17:41  
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

Andy
ECT Moderator

95440 Posts

Posted - 10/03/2017 :  02:20:35  
Hi

ECT Version 6.7.2 will be fine with PHP7. You will need to check the syntax used in vsadmin/includes.php and db_conn_open.php and we have some notes on that here https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=107737

There shouldn't be anything else required.

Andy

Please feel free to review / rate our software

BeThe
Starting Member

United Kingdom
11 Posts

Pre-sales questions only
(More Details...)

Posted - 10/04/2017 :  01:06:34  
Hi Andy,
Many Thanks.
Web hosts have now upgraded us to php7 again and all seems to be working fine.
Look forward to exploring the new functionality available from the ect upgrade too.
All the best!
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000