bash: my.php cannot execute: required file not found

Problem:

 

shell: # ./myexample.php

-bash: myexample.php cannot execute: required file not found

myexample.php:

#!/usr/bin/php
<?php

echo " Test ";

Solution

Remove CRLF, replace with LF. Set Line Separator to LF in your Editor. 




 

Neuen Kommentar schreiben

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Suche

Neueste Kommentare