Riyafa Abdul Hameed
Riyafa Abdul Hameed

Reputation: 7973

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

Upvotes: 0

Views: 1313

Answers (1)

Varun Naharia
Varun Naharia

Reputation: 5420

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

remove .php from that if there is any

Upvotes: 1

Related Questions