From 7e63fc6b6afb9809de441f50dfdab99879a9bc2e Mon Sep 17 00:00:00 2001 From: TheWitness Date: Sun, 10 Oct 2021 17:38:16 -0400 Subject: [PATCH] Abandon a few versions of PHP. Long live PHP5! --- .travis.yml | 6 ------ tests/tools/cacti.conf | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 6 deletions(-) create mode 100644 tests/tools/cacti.conf diff --git a/.travis.yml b/.travis.yml index 49dbaa1f9..042db8d05 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/tests/tools/cacti.conf b/tests/tools/cacti.conf new file mode 100644 index 000000000..d80f67892 --- /dev/null +++ b/tests/tools/cacti.conf @@ -0,0 +1,36 @@ + + ServerAdmin webmaster@localhost + DocumentRoot /var/www/html + + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined + + + + + SetHandler proxy:unix:///run/php/php-fpm.sock|fcgi://127.0.0.1:9000 + + + +Alias /cacti /var/www/html/cacti + + + Options +FollowSymLinks + AllowOverride None + Require all granted + + AddType application/x-httpd-php .php + + + 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 . + + + DirectoryIndex index.php +