I have installed fresh LAMP on Ubuntu 13.10 After installation PHP works fine if i put the PHP code to default localhost web folder /var/www
I created the virtual host. I did it as usually before and never had problemsI added the file to /etc/apache2/mods-enabled and activated
but then when i enter this virtual host in browser i can see the code of my index.php file in the browser.
Also when i execute php code from command line i can see source of the code and it is not executed.
What can this be?

Check Solution