Black Friday Sale 90% OFF
07
DAYS
10
HOURS
36
MINUTES
39
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!

  • Neomezený Počet Webových Stránek
  • Podpora 24/7 Live
  • Snadný Website Builder
  • 2X Optimalizovaná Rychlost WordPress
  • 30-dňové záruka vrátenia peňazí
Black Friday Sale
Od
0
80
/měs
Uložte 90%
Pričnite