Page 1 of 3
Scj With Php 7
Posted: Tue Mar 20, 2018 5:18 pm
by tubeman
Hi,
Is Smartcj v 2.1 compatible with php 7 ?
Regards,
Re: Scj With Php 7
Posted: Tue Mar 20, 2018 5:18 pm
by admin
Yes
Re: Scj With Php 7
Posted: Tue Mar 20, 2018 5:22 pm
by tubeman
Thanks, While upgrading php on server is there anything to keep in mind so that script dosen't break?
Re: Scj With Php 7
Posted: Tue Mar 20, 2018 5:30 pm
by admin
Well, basically files for php 5 and files for php 7 are different
So what you need is to
1. backup DB
2. rename folder to scj_backup
3. upgrade php
4. install scj (it'll download files for php7)
5. restore DB
Re: Scj With Php 7
Posted: Tue Mar 20, 2018 5:38 pm
by tubeman
Which folder do I have to rename to scj_backup?
Re: Scj With Php 7
Posted: Tue Mar 20, 2018 5:45 pm
by admin
scj
or install version 7 into another folder
Re: Scj With Php 7
Posted: Tue Mar 20, 2018 5:46 pm
by tubeman
I have over 30 sites, what would be easiest way to do this?
Re: Scj With Php 7
Posted: Tue Mar 20, 2018 5:59 pm
by admin
0. create a backup of your smartcj folders
1. upgrade php
2. install a new copy of smartcj on any domain just to get files
3. copy new files into scj folder EXCEPT (!!!) config.php, common.php , .htaccess
these files contain domain specific data (DB name, path and so on)
Re: Scj With Php 7
Posted: Tue Mar 20, 2018 6:16 pm
by tubeman
Thanks, I'm using Nginx/Apache, so nothing to change in the nginx config files right?
Re: Scj With Php 7
Posted: Tue Mar 20, 2018 6:17 pm
by admin