committing changes in /etc after apt run
Package changes: +php8.1 8.1.13-1+0~20221126.29+debian11~1.gbpfee7cc all +php8.1-apcu 5.1.21+4.0.11-8+0~20220625.32+debian11~1.gbpa7cde5 amd64 +php8.1-bcmath 8.1.13-1+0~20221126.29+debian11~1.gbpfee7cc amd64 +php8.1-cgi 8.1.13-1+0~20221126.29+debian11~1.gbpfee7cc amd64 +php8.1-cli 8.1.13-1+0~20221126.29+debian11~1.gbpfee7cc amd64 +php8.1-common 8.1.13-1+0~20221126.29+debian11~1.gbpfee7cc amd64 +php8.1-curl 8.1.13-1+0~20221126.29+debian11~1.gbpfee7cc amd64 +php8.1-fpm 8.1.13-1+0~20221126.29+debian11~1.gbpfee7cc amd64 +php8.1-gd 8.1.13-1+0~20221126.29+debian11~1.gbpfee7cc amd64 +php8.1-gmp 8.1.13-1+0~20221126.29+debian11~1.gbpfee7cc amd64 +php8.1-igbinary 3.2.6+2.0.8-6+0~20220131.33+debian11~1.gbp1d540e amd64 +php8.1-imagick 3.6.0-4+0~20220117.35+debian11~1.gbp149f82 amd64 +php8.1-imap 8.1.13-1+0~20221126.29+debian11~1.gbpfee7cc amd64 +php8.1-intl 8.1.13-1+0~20221126.29+debian11~1.gbpfee7cc amd64 +php8.1-mbstring 8.1.13-1+0~20221126.29+debian11~1.gbpfee7cc amd64 +php8.1-memcache 8.0+4.0.5.2+3.0.9~20170802.e702b5f9+-7+0~20220117.28+debian11~1.gbp8ceec4 amd64 +php8.1-memcached 3.2.0+2.2.0-1+0~20220421.38+debian11~1.gbp96ecac amd64 +php8.1-msgpack 1:2.2.0~rc1-1+0~20220706.35+debian11~1.gbpe98995 amd64 +php8.1-mysql 8.1.13-1+0~20221126.29+debian11~1.gbpfee7cc amd64 +php8.1-opcache 8.1.13-1+0~20221126.29+debian11~1.gbpfee7cc amd64 +php8.1-readline 8.1.13-1+0~20221126.29+debian11~1.gbpfee7cc amd64 +php8.1-redis 5.3.7+4.3.0-1+0~20220330.42+debian11~1.gbp6fe8b7 amd64 +php8.1-xml 8.1.13-1+0~20221126.29+debian11~1.gbpfee7cc amd64 +php8.1-zip 8.1.13-1+0~20221126.29+debian11~1.gbpfee7cc amd64
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
# This file replaces old system MIME types and sets them only in the
|
||||
# Apache webserver
|
||||
|
||||
# Using (?:pattern) instead of (pattern) is a small optimization that
|
||||
# avoid capturing the matching pattern (as $1) which isn't used here
|
||||
# application/x-httpd-php phtml php
|
||||
<FilesMatch ".+\.ph(?:ar|p|tml)$">
|
||||
SetHandler application/x-httpd-php
|
||||
</FilesMatch>
|
||||
# application/x-httpd-php-source phps
|
||||
<FilesMatch ".+\.phps$">
|
||||
SetHandler application/x-httpd-php-source
|
||||
# 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>
|
||||
|
||||
# To enable PHP CGI site-wide, just uncomment following lines, however
|
||||
# as a security measure, it's recommended to enable PHP just in the
|
||||
# specific virtual servers or just specific directories
|
||||
|
||||
#ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
|
||||
#<Directory "/usr/lib/cgi-bin">
|
||||
# AllowOverride None
|
||||
# Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
|
||||
# Order allow,deny
|
||||
# Allow from all
|
||||
#</Directory>
|
||||
#Action application/x-httpd-php /cgi-bin/php8.1
|
||||
@@ -0,0 +1,34 @@
|
||||
# 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>
|
||||
|
||||
# Using (?:pattern) instead of (pattern) is a small optimization that
|
||||
# avoid capturing the matching pattern (as $1) which isn't used here
|
||||
<FilesMatch ".+\.ph(?:ar|p|tml)$">
|
||||
SetHandler "proxy:unix:/run/php/php8.1-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.1-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>
|
||||
Reference in New Issue
Block a user