0

we're planning to upgrade PHP from 5.6.30 to PHP 7.2

I've downloaded this patch from the magento site PATCH-1.9.3.1-1.9.3.9_PHP7-2018-09-13-08-01-43.2_v2

I haven't seenthat extension .2_v2 before and google couldn't help either. (tars and .sh are more familiar for patches) Can anyone tell me what I need to do in order to run it? I can actually open it and read it with a text editor. It looks like unix shell script.

should I just run it as follows after we've upgraded PHP to 7.2?

  sh PATCH-1.9.3.1-1.9.3.9_PHP7-2018-09-13-08-01-43.2_v2

Another question we actually have magento 1.9.3.10 installed and this patch is for 1.9.3.9, there isn't one for my version. Is this likely to be OK?

0

In your webroot run

patch -p1 < PATCH-1.9.3.1-1.9.3.9_PHP7-2018-09-13-08-01-43.2_v2

This will apply the patch. However, this will apply the page on Magento core files only! Make sure that all your extensions are PHP 7.2-proof too.

And, referring to your second question - Magento 1 session in database error with PHP 7.2:

Unlike stated in the download page at magento.com, Magento > 1.9.3.8 seem still to require the "PHP 7.2 support" patch PATCH-1.9.3.1-1.9.3.9_PHP7-2018-09-13-08-01-43.2_v2.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.