Invalid hhvm monit configuration triggering
Hi,
We noticed that there is one wrong condition statement in the apache plugin , that generates an unecessary monit configuration file for monitoring hhvm status even if the website is not running with hhvm
On apache_plugin_inc.php on row 3014 there is this conditional statement :
if($data['new']['php'] == 'hhvm' && data['old']['php'] != 'hhvm' || (isset(
data['old']['custom_php_ini']) && $data['new']['custom_php_ini'] != $data['old']['custom_php_ini'])) {
In our case a website configured with suphp mode and some settings on custom php tab , triggered the monit configuration file generation (00-hvm_) even if not required.