PHP 8.5.2
Preview: php8.0-fpm.conf Size: 1.25 KB
/etc/apache2/conf-available/php8.0-fpm.conf

# Redirect to local php-fpm if mod_php is not available
<IfModule !mod_php8.c>
<IfModule proxy_fcgi_module>
    # Enable http authorization headers
    <IfModule setenvif_module>
    SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1
    </IfModule>

    <FilesMatch ".+\.ph(ar|p|tml)$">
        SetHandler "proxy:unix:/run/php/php8.0-fpm.sock|fcgi://localhost"
    </FilesMatch>
# 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
#    <FilesMatch ".+\.ph(ar|p|tml)$">
#        <If "-f %{REQUEST_FILENAME}">
#            SetHandler "proxy:unix:/run/php/php8.0-fpm.sock|fcgi://localhost"
#        </If>
#    </FilesMatch>
    <FilesMatch ".+\.phps$">
        # 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
    </FilesMatch>
    # Deny access to files without filename (e.g. '.php')
    <FilesMatch "^\.ph(ar|p|ps|tml)$">
        Require all denied
    </FilesMatch>
</IfModule>
</IfModule>

Directory Contents

Dirs: 0 × Files: 10

Name Size Perms Modified Actions
1.25 KB lrw-r--r-- 2025-07-22 07:08:08
Edit Download
1.25 KB lrw-r--r-- 2025-07-22 07:08:08
Edit Download
1.25 KB lrw-r--r-- 2025-07-22 07:08:08
Edit Download
1.25 KB lrw-r--r-- 2025-07-22 07:08:08
Edit Download
1.25 KB lrw-r--r-- 2025-07-22 07:08:08
Edit Download
1.40 KB lrw-r--r-- 2025-12-30 07:08:08
Edit Download
1.40 KB lrw-r--r-- 2025-12-30 07:08:08
Edit Download
1.40 KB lrw-r--r-- 2026-01-22 07:08:08
Edit Download
1.40 KB lrw-r--r-- 2026-01-22 07:08:08
Edit Download
1.40 KB lrw-r--r-- 2026-01-22 07:08:08
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).