Answer the question
In order to leave comments, you need to log in
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;
Answer the question
In order to leave comments, you need to log in
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 questionAsk a Question
731 491 924 answers to any question