Search code examples
phpsymfonyxamppubuntu-14.04htdocs

Cannot open php file in localhost


I have a symfony project (nvs) in my 'htdocs' folder in ubuntu. And my lampp server has been started. Whenever I tried to open the file using 'http://localhost/nvs/index.php' I get the following download dialog (Other symfony projects in the same 'htdocs' folder are opening just fine)

enter image description here

Please suggest a solution


Solution

  • is your .htaccess file is correct ? can you show the contents of that file

    remove .php from that if there is any