PHP support in all_pre.sh script

PHP support in all_pre.sh script

It seems PHP is not supported in all_pre.sh script,
I’ve used the code below in all_pre.sh but it doesn’t work at all

Code:

#!/usr/local/bin/php
exit(1);


But using the Bash script works fine.

Code:

#!/bin/sh
exit 1;


I have used PHP in a few other scripts and it works fine, Is there any problem with using PHP in all_pre.sh?

Any help would be much appreciated.

Comments are closed.