How to run a Bash script via PHP and match the output?