Hi there

When i create or edit some file like `index.php` with below simple content (on Windows) :

Code:
<?php
echo 'Hello world';
?>
Now, I want to run it on Ubuntu by lamp-server. Copied that `index.php` file on `~/public_html/`.
Finally trying below in Browser :

Code:
localhost/index.php
I get following error:
Server error

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.
But if i create that `index.php` on ubuntu with same content it works fine.

It's some weird isn't it ?