I used to write some scripts in PHP which i was going to run on Linux. Unfortunately, I was faced with this small error :
Bad interpreter: No such file or directory
All you need to fix it is just run this command :
dos2unix /path/to/your/script.php
Reference :
[1] Fixing error bad interpreter cyprich.com
Bad interpreter: No such file or directory PHP
2012-12-14T12:27:00Z
GarciaPL
PHP|Ubuntu|