Cs-Cart With Php7

Is anyone running cs-cart with php 7. At present we are running cs-cart installation (4.3.7) with php 5.6. However as we switch to php 7, website is not loaded. No errors are logged. we just get a blank page.

Can someone suggest if you need any changes required in order to run cs-cart with php7.

YPG

Using php7 on 437 with no issues

Using php7 on 437 with no issues

Did you upgrade to 4.3.7 or it was a fresh install?

Is anyone running cs-cart with php 7. At present we are running cs-cart installation (4.3.7) with php 5.6. However as we switch to php 7, website is not loaded. No errors are logged. we just get a blank page.

Can someone suggest if you need any changes required in order to run cs-cart with php7.

YPG

Try to replace this line:

$config['database_backend'] = 'mysqli';

with this one:

$config['database_backend'] = 'pdo';

in the config.local.php file.

You might try disabling any 3rd party addons. There were changes needed for PHP 7 and not all vendors have an automated update system/process.

Also ensure that you have error_reporting(E_ALL) in your config.local.php and you should see all php errors, warnings and notices in your PHP error_log.

@CS-Cart team - Why would you want to use PDO versus mysqli?

@CS-Cart team - Why would you want to use PDO versus mysqli?

Hi there. If we talk about CS-Cart there is no difference between PDO or MySQLi. Same performance and both of them works fine with MySQL, MariaDB and PerconaDB.

Hi there. If we talk about CS-Cart there is no difference between PDO or MySQLi. Same performance and both of them works fine with MySQL, MariaDB and PerconaDB.

But that doesn't answer my question. Why would it make a difference to the merchant then?

But that doesn't answer my question. Why would it make a difference to the merchant then?

To determine whether it's installed or not?

If it weren't, then the error would certainly be in the error_log.

Using php7 on 437 with no issues

Can you (or anyone else who has experience with running cs-cart on php7) share some impressions? Did you run any benchmarks to quantify the performance gain?

CSC did themselves. You can read about it in their blog. http://blog.cs-cart.com/2016/03/02/cs-cart-and-multi-vendor-4-3-6-are-here/

Hi just upgrade to Easy Apache 4 and now we can select / assign PHP 7 to our V4.3.8 store but when I do just that the store simply will not load. What could I be missing here ?

FIXED... forgot to install certain PHP 7 extensions :grin:

FIXED... forgot to install certain PHP 7 extensions :grin:

What were these extensions