mirror of
https://github.com/Cacti/cacti.git
synced 2026-11-12 15:43:49 +09:00
Abandon a few versions of PHP. Long live PHP5!
This commit is contained in:
1 parent
d187d0ffc5
commit
7e63fc6b6a
2 files changed
+36
-6
No files matched your search
@@ -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
|
||||
|
||||
@@ -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>
|
||||
Reference in new issue
Block a user