Abandon a few versions of PHP. Long live PHP5!

This commit is contained in:
TheWitness committed 2021-10-10 17:38:16 -04:00
1 parent d187d0ffc5
commit 7e63fc6b6a
2 files changed
+36 -6

No files matched your search

-6
View File
@@ -5,12 +5,6 @@ services:
matrix:
include:
- php: 5.4
dist: bionic
- php: 5.5
dist: bionic
- php: 5.6
dist: bionic
- php: 7.2
dist: bionic
- php: 7.3
+36
View File
@@ -0,0 +1,36 @@
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
<IfModule mod_proxy_fcgi.c>
<Files ~ .(?i:inc|html|htm)$>
SetHandler proxy:unix:///run/php/php-fpm.sock|fcgi://127.0.0.1:9000
</Files>
</IfModule>
Alias /cacti /var/www/html/cacti
<Directory /var/www/html/cacti>
Options +FollowSymLinks
AllowOverride None
Require all granted
AddType application/x-httpd-php .php
<IfModule mod_php7.c>
php_flag magic_quotes_gpc Off
php_flag short_open_tag On
php_flag register_globals Off
php_flag register_argc_argv On
php_flag track_vars On
# this setting is necessary for some locales
php_value mbstring.func_overload 0
php_value include_path .
</IfModule>
DirectoryIndex index.php
</Directory>