Always something with Linux
I read the direction off PHP site on running scripts from CLI:
Code: Select all
#!/usr/bin/php
<?php
// chmod +x myscript.php
echo 'Hello';
?>Code: Select all
myscript.phpI have marked the file as executable via chmod +x on the script and I have the PHP interpreter located at the first line of file and yet I still need to call:
php myscript.php???
Ideas?