When editing a Linux PHP shell script today, I got the error:
EXTENSION 'script.php' NOT PRESENT
The problem was that the file was saved with Windows line endings (\r\n
). I just had to re-save it with UNIX line endings and it worked fine.
When editing a Linux PHP shell script today, I got the error:
EXTENSION 'script.php' NOT PRESENT
The problem was that the file was saved with Windows line endings (\r\n
). I just had to re-save it with UNIX line endings and it worked fine.