Answer the question
In order to leave comments, you need to log in
How to run php-fpm for php7?
The story is this: there is centOS7 with nginx installed and php7 compiled from here www.php.net/get/php-7.0.2.tar.bz2/from/uk1.php.net... , fpm itself is inside sapi/fpm, Is there any man to start and configure this case? It is not clear where the fpm binary is, which is usually located in /usr/local/php7/sbin/php-fpm
UPD: before that there was a version of php 5.6 installed via yum according to this manu https://www.digitalocean.com/community/tutorials/ h...
Answer the question
In order to leave comments, you need to log in
fpm is ${prefix}/sbin/php-fpm by default
1) you need to compile with the parameter --enable-fpm
2)init script is in the source folder sapi/fpm
under the name: init.d.php-fpm
3) look for pool settings in the $prefix folder (after installation), the default name is www. conf
4) write a handler for php in the web server, the listen parameter from the pool config, by default the addresslisten = 127.0.0.1:9000
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question