Black Friday Sale 90% OFF
11
DAYS
21
HOURS
30
MINUTES
09
SECONDS

Problem: Browser tries to download PHP file

Modified on:
download php file php file downloads download while opening

There might be several ways to fix PHP file download problem, however, in most cases, this is caused due to .htaccess.

Here is how to fix it. Go to your Control Panel -> File Manager, get into your public_html folder and create new .htaccess file, add the following line to it:

AddType application/x-httpd-php .php .htm .html AddHandler x-httpd-php .php .htm .html

Now simply save the file and reload your website, it should work fine now!

  • 무제한 웹 사이트 수
  • 24/7 라이브 지원
  • 쉬운 웹 사이트 빌더
  • 2X WordPress 최적화 속도
  • 30 일 환불 보증
Black Friday Sale
부터
895
/월
구하다 90%
시작하기