#!/usr/bin/env bash

cd /etc/init.d/

for i in `ls | grep php`
do
    echo "reload: "$i;
    /etc/init.d/$i reload
done

/etc/init.d/monit restart

