[TO_STAGE] Added ensure_httpd_restart_succeed back to restart operation for phpmyadmin and ruby