Wondering what I'm doing wrong ... I have a script from CloudNS to copy DNS zones to slave name servers that starts with:
I'm getting the error:
/usr/local/bin/php does have a symlink to the PHP on my system, so I'm not sure what I'm doing wrong. Any help?
Server: CentOS 7
Code:
#!/usr/local/bin/php
<?php
// stuff here
?>
I'm getting the error:
-bash: ./directadmin-slave-zones-add.php: /usr/local/bin/php^M: bad interpreter: No such file or directory
/usr/local/bin/php does have a symlink to the PHP on my system, so I'm not sure what I'm doing wrong. Any help?
Server: CentOS 7