R
R
Rekrun2018-11-08 08:50:57
Network administration
Rekrun, 2018-11-08 08:50:57

Change php 5.6 on the server to the latest version 7.2. how to do it better?

The server is running php version 5.6. I want to update the module to 7.2. The question is this? Can the site be merged for this case? for example, not the correctness of the work of different scripts. I just did not come across it. can this happen? that the site will not work correctly?

Answer the question

In order to leave comments, you need to log in

7 answer(s)
R
Rsa97, 2018-11-08
@Rsa97

There is a non-zero probability that errors will appear. It is better to first raise the test server, run everything on it, then transfer it to the working one.

L
l4m3r, 2018-11-08
@l4m3r

Most likely it won't fly. I think there was something key difference related to isset or unset, because of which the old code may not work like that, but this is a rare case.

S
Sanes, 2018-11-08
@Sanes

Put in parallel and test. Take off, bring it back. You can also try other versions, 7.0, 7.1 for example.

V
Viktor Taran, 2018-11-08
@shambler81

Install several versions of php at once, so that now it is very easy to do, just add a repository and apache.
Just specify the desired version in the configs.

P
Puma Thailand, 2018-11-08
@opium

Run the site on your computer under 7.2

A
Alexander Chernykh, 2018-11-08
@sashkets

Will fly off, will not fly off, depends on the code We put 2 php and we check. Our portal to laravel/kohana did not crash. True, the webmaster was on the hook, if anything

M
Maxim E, 2018-11-08
@creativeworm

If actual solutions were used for 5.6 (using PDO or mysqli as a last resort), then most likely everything will work.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question