PHP: Add protection from switching to not installed CLI or FPM version.