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
Next revision
Previous revision
howto:php [2015/11/02 11:24] – Initial documentation for PHP-FPM deucehowto:php [2023/02/05 19:33] (current) – [Configure Web Server For PHP-FPM] Forgot the "unix:" prefix in the UDS example 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=unix:/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.