M
M
Michael2019-07-08 20:08:48
PHP
Michael, 2019-07-08 20:08:48

How to make a soft transition from php 5.6 to 7.*?

Hello!
Finally, all sites on VPS with Ubuntu server 16.4 were transferred to work with puff 7 versions.
Now everything is working stably, but sooner or later it will be necessary to switch and it is better to do it now and not when the sites just stop working.
PS Php running in php-fpm mode

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Andrey Gavrilov, 2019-07-08
@thexaver

You remove all php packages, install new repositories with php7.3, install
fpm and re-packages and you're done, in nginx you change the port or path to the daemon.

S
Sanes, 2019-07-08
@Sanes

PHP-FPM works with either Nginx or Apache.
Install the correct version and connect to the web server.

A
AN, 2019-07-09
@AlekseyNikulin

To get started, check out the list of changes from version 5.6 to 7.3.
During the transition, there are some nuances that are reflected in the work of functions, libraries, and class declarations.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question