Upgraded php to 7.4 when I do ./validate.php the results still show as PHP version 7.2.34. I’m I missing another step? How do I use the newest php 7.4 version.
Its up to your operating system to pick what default php version too use, consult its documentation regarding switching default versions.
You could always uninstall the php 7.2 package