Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| howto:php [2015/11/02 11:24] – Initial documentation for PHP-FPM deuce | howto:php [2026/03/02 19:42] (current) – [Use PHP with the Synchronet Web Server] esc | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Use PHP with the Synchronet Web Server ====== | ====== Use PHP with the Synchronet Web Server ====== | ||
| - | Dynamic [[http:// | + | Dynamic [[http:// |
| PHP applications //will not// magically have access to your Synchronet content (e.g. users, messages, files). | PHP applications //will not// magically have access to your Synchronet content (e.g. users, messages, files). | ||
| Line 80: | Line 80: | ||
| Edit the [[server: | Edit the [[server: | ||
| - | Example: | + | Example |
| < | < | ||
| [*.php] | [*.php] | ||
| FastCGISocket=127.0.0.1: | FastCGISocket=127.0.0.1: | ||
| </ | </ | ||
| + | |||
| + | Example (using a UNIX Domain socket): | ||
| + | < | ||
| + | [*.php] | ||
| + | FastCGISocket=unix:/ | ||
| + | </ | ||
| + | |||
| 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. | ||