cPanelSSP/SSP — pull request #27 by cPanelChrisD (2014-07-31 20:32:04+00:00)
Title: Add deprecated PHP check, check for more immutable stuff, fix uninitialized value warnings

===

ADDED - Deprecated PHP version detection. If a PHP version less than 5.3.0 is detected, print a critical-level warning (because there is usually no going back) that you shouldn't run EA without customer approval and understanding that it will upgrade to a supported version of PHP:

[CRIT] * !! RUNNING A VERSION OF PHP THAT IS NO LONGER SUPPORTED BY EASYAPACHE !!
Do not run EasyApache without confirmation that this will replace PHP with a supported PHP version!
PHP4: 4.4.9
PHP5: 5.2.17

Requested By:
Chris Borsheim

===

FIXED - Several uninitialized value warnings in malware checks if 'sha1sum' is broken, or just timed out because it took too long to run on a really slow server.

Credit:
Sloane Bernstein

===

ADDED - Check /usr/local/apache and subdirs for immutable files, previously it only checked httpd.conf and nothing else. While I was at it, also did the same thing for /var/cpanel/backups, previously only the 'config' file was checked.

Credit:
Brian Warren

===