general: disable plugin if php not available.

* Adds a check if php exists. If not exists, autodisable.

Signed-off-by: Leonardo Rossi <leonardo.r@cern.ch>