Need to reopen CLI after update environment variable. then your php -v command return updated version. Thanks