My WordPress site has no problem till now but suddenly it starts downloading index file while visiting site. Other links of pages on same site and wp-admin/
are working fine but while visiting home page it downloads index.php
as download name.
Asked
Active
Viewed 904 times
1

Maitray Suthar
- 263
- 2
- 13

salin kunwar
- 1,128
- 3
- 13
- 22
-
1something is wrong with webserver, which webserver are you using – Chol Nhial Aug 27 '17 at 10:47
-
You find the following helpful: https://stackoverflow.com/questions/25591040/nginx-serves-php-files-as-downloads-instead-of-executing-them – Chol Nhial Aug 27 '17 at 10:48
-
scalahosting.its apache not nginx. – salin kunwar Aug 27 '17 at 10:50
-
you mind sharing your config file, the relevant parts. – Chol Nhial Aug 27 '17 at 10:51
-
something not ok with your config file have you updated recently to php 7 or something? – RohitS Aug 27 '17 at 10:54
-
I will talk to server team. i was just wondering if it wasn't server. Thanks – salin kunwar Aug 27 '17 at 11:17