Synchronet v3.19b-Win32 (install) has been released (Jan-2022).

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
howto:php [2015/11/02 11:24] – Initial documentation for PHP-FPM deucehowto:php [2023/02/04 23:30] – [Configure Web Server For PHP-FPM] Example using UNIX domain socket for php-fpm connection digital man
Line 80: Line 80:
 Edit the [[server:web#webctrl.ini per-directory configuration file|webctrl.ini file]] at the root of your PHP application and configure it to use FastCGI. Edit the [[server:web#webctrl.ini per-directory configuration file|webctrl.ini file]] at the root of your PHP application and configure it to use FastCGI.
  
-Example:+Example (using a TCP socket):
 <file> <file>
 [*.php] [*.php]
 FastCGISocket=127.0.0.1:9000 FastCGISocket=127.0.0.1:9000
 </file> </file>
 +
 +Example (using a UNIX Domain socket):
 +<file>
 +[*.php]
 +FastCGISocket=/run/php/php-fpm.sock
 +</file>
 +
  
 Make sure that php-fpm is running and that the listener socket is the same as in the FastCGISocket line. Make sure that php-fpm is running and that the listener socket is the same as in the FastCGISocket line.