add php mode to installed packages.