DOS formatted PHP files processed as plain text, other files processed normally. Why?
Posted on 2014-04-01
I've moved approximately 100 PHP files to a new LAMP server. When the PHP files are called they are not processed, the code prints out as plain text. If I create a new PHP file on the new server and copy/paste the code, it processes fine.
When I open up the PHP files on the new server or the old server, with nano, I receive a notification "[ Read ## lines (Converted from DOS format). ] "
What's going on here? Why can't my new server handle these files?
RHEL6.5 Santiago - 64Bit