Jump to content

Index.php Was Downloaded But I Didn't Want It


Recommended Posts

I just installed the latest prestashop 1.6.1.3 on ubuntu with Nginx 1.8.0.

 

It showed that was successfully installed. And I could get into the dash board. 

 

But after opening  "http://myshopabcdefg.com", an file "index.php" was downloaded automatically.

And it's actually a PHP script.

 

But I didn't want it. I want the 'index.php' script be parsed.

 

I had another php script phpinfo.php,

<?php
phpinfo();
?>

And it rendered very well. But only the index.php from prestashop was not rendered.

 

How to fix this??

 

Many thanks!

Link to comment
Share on other sites

×
×
  • Create New...