php-7.1-fpm as default

November 10, 2017 2.9k views
Quickstart PHP Ubuntu 16.04

i ubuntu server 16.04 on digitalocean.

I use the php-7.1-fpm service.

The digitalocean server yesterday restarted automatically.

when the server restarted, it started the php-7.0-fpm version as default, so all sites had error 500

How can I start the php-7.1-fpm service of defalt and not the php-7.0-fpm version?

Thank you

2 Answers

The problem is simple, but I want to know how do you install two versions of php service?

I use trellis, i set php7.1-fpm on trellis. it's a problem?

Have another answer? Share your knowledge.