From 5f0b24d2c8411b1ff4c81f54b7edde3c99004e4a Mon Sep 17 00:00:00 2001 From: Athmane Madjoudj Date: Mon, 27 Mar 2017 09:21:37 +0200 Subject: [PATCH] Add support for cPanel PHP (Scl-based pacakging) GHT #340 (#373) * Add support for cPanel PHP (Scl-based pacakging) GHT #340 * Add myself to contributors as requested --- CONTRIBUTORS.md | 1 + include/tests_php | 14 ++++++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index a8486ad0..65b4a251 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -21,6 +21,7 @@ The Lynis project is very thankful to the individuals who contributed to the pro * Arch Linux - Levente Polyak * Debian / Ubuntu - Francisco Manuel Garcia Claramonte +* Fedora / EPEL - Athmane Madjoudj ## Special Contributors diff --git a/include/tests_php b/include/tests_php index 9a55d03b..c34bdb47 100644 --- a/include/tests_php +++ b/include/tests_php @@ -41,10 +41,20 @@ /var/www/conf/php.ini \ /usr/local/etc/php.ini /usr/local/lib/php.ini \ /usr/local/zend/etc/php.ini \ - /usr/pkg/etc/php.ini" + /usr/pkg/etc/php.ini \ + /opt/cpanel/ea-php54/root/etc/php.ini \ + /opt/cpanel/ea-php55/root/etc/php.ini \ + /opt/cpanel/ea-php56/root/etc/php.ini \ + /opt/cpanel/ea-php70/root/etc/php.ini \ + /opt/cpanel/ea-php71/root/etc/php.ini" PHPINIDIRS="/etc/php5/conf.d \ - /etc/php.d" + /etc/php.d \ + /opt/cpanel/ea-php54/root/etc/php.d \ + /opt/cpanel/ea-php55/root/etc/php.d \ + /opt/cpanel/ea-php56/root/etc/php.d \ + /opt/cpanel/ea-php70/root/etc/php.d \ + /opt/cpanel/ea-php71/root/etc/php.d" PHPVERSION="" #