When i create or edit some file like `index.php` with below simple content (on Windows) :
Now, I want to run it on Ubuntu by lamp-server. Copied that `index.php` file on `~/public_html/`.
echo 'Hello world';
Finally trying below in Browser :
I get following error:
But if i create that `index.php` on ubuntu with same content it works fine.
The website encountered an error while retrieving http://localhost/home.php. It may be down for maintenance or configured incorrectly.
Here are some suggestions:
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
It's some weird isn't it ?