/etc/apache2/conf-enabled
Edit: /etc/apache2/conf-available/php8.5-fpm.conf (1426B)
# Redirect to local php-fpm if mod_php is not available
# Enable http authorization headers
SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1
# Using (?:pattern) instead of (pattern) is a small optimization that
# avoid capturing the matching pattern (as $1) which isn't used here
SetHandler "proxy:unix:/run/php/php8.5-fpm.sock|fcgi://localhost"
# The default configuration works for most of the installation, however it could
# be improved in various ways. One simple improvement is to not pass files that
# doesn't exist to the handler as shown below, for more configuration examples
# see https://wiki.apache.org/httpd/PHP-FPM
#
#
# SetHandler "proxy:unix:/run/php/php8.5-fpm.sock|fcgi://localhost"
#
#
# Deny access to raw php sources by default
# To re-enable it's recommended to enable access to the files
# only in specific virtual host or directory
Require all denied
# Deny access to files without filename (e.g. '.php')
Require all denied