add check script for the php setting