PHP support
Project Karpacz supports running PHP scripts either with a cgi module (using PHP-CGI) or with a fcgi module (using either PHP-CGI configured as a FastCGI server or PHP-FPM).
To configure PHP through CGI with Project Karpacz, you can use this configuration (for global configuration):
global:
cgiScriptExtensions:
- .php
To configure PHP through FastCGI with Project Karpacz, you can use this configuration (for global configuration):
global:
fcgiScriptExtensions:
- .php
fcgiTo: unix:///run/php/php8.2-fpm.sock # Replace with the Unix socket URL with actual path to the PHP FastCGI daemon socket.