Hi I want my bash script to find where php is installed - this will be used on different linux servers, and some of them won't be able to use the which
command. Anyway I need help with that second line:
#!/bin/bash
if (php is located in /usr/bin/php); then
PHP = /usr/bin/php
else
PHP = /usr/local/zend/bin/php
fi
$PHP script.php