EXTENSION ‘xxx’ NOT PRESENT

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.