Skip to content

Commit

Permalink
Add PHP 8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
fcrespel committed Jul 20, 2024
1 parent 0eac6a0 commit ee6f4a5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions root/etc/apache2/conf.d/mod_proxy_fcgi_php.conf
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# PHP FastCGI configuration (mod_proxy_fcgi)
# http://httpd.apache.org/docs/2.4/en/mod/mod_proxy_fcgi.html

<IfModule !php5_module>
<IfModule !php7_module>
<IfModule !php_module>
<IfModule proxy_fcgi_module>

DirectoryIndex index.php index.php3 index.php4 index.php5 index.php7
DirectoryIndex index.php index.php3 index.php4 index.php5 index.php7 index.php8

<FilesMatch "\.ph(p[3457]?|tml)$">
<FilesMatch "\.ph(p[34578]?|tml)$">
ProxyFCGISetEnvIf "-n %{req_novary:Authorization}" HTTP_AUTHORIZATION "%{req_novary:Authorization}"
ProxyFCGISetEnvIf "-n %{req_novary:X-Forwarded-Port}" SERVER_PORT "%{req_novary:X-Forwarded-Port}"
ProxyFCGISetEnvIf "-n %{req_novary:X-Forwarded-Proto}" REQUEST_SCHEME "%{req_novary:X-Forwarded-Proto}"
Expand Down
6 changes: 3 additions & 3 deletions root/etc/confd/templates/default-vhost.conf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
</Directory>

SSLEngine on
SSLProtocol all -SSLv2 -SSLv3
SSLCipherSuite ALL:!MD5:!aNULL:!ADH:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM
SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
SSLCipherSuite PROFILE=SYSTEM
SSLCertificateFile /etc/apache2/ssl.crt/default.crt
SSLCertificateKeyFile /etc/apache2/ssl.key/default.key

<Files ~ "\.(cgi|shtml|phtml|php|php3|php5|php7?)$">
<Files ~ "\.(cgi|shtml|phtml|php|php3|php5|php7|php8?)$">
SSLOptions +StdEnvVars
</Files>

Expand Down

0 comments on commit ee6f4a5

Please sign in to comment.