T
T
Tsarev Vadim2020-08-09 08:31:42
PHP
Tsarev Vadim, 2020-08-09 08:31:42

How to properly test php-fpm work after php7 centos 7 update?

How to properly test php-fpm work after php7 centos 7 update?
The fact is that when they updated the version of php 5 to 7, now 7.1 in the configs I just noticed that the call is php5-fpm.sock how to check the work and whether it is possible to upgrade to php7.0-fpm (as I understand it, php is crookedly updated)

fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;

Please advise a working server)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sanes, 2020-08-09
@Sanes

Open the pool's php-fpm config and have a look. For the web server, you do not need to update, but put the desired version next to it.
This is what it looks like in Ansible

- name: 'Create php-fpm pool'     
  template: 'src=templates/php/user.conf.j2 dest=/etc/php/{{ php }}/fpm/pool.d/{{ username }}.conf'

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question