Penawaran Terbatas - mulai dari $0.80/bulan
00
HARI
14
JAM
45
MENIT
49
DETIK
Beli Sekarang
×

Pengetahuan Dasar

Temukan artikel terkait fitur, petunjuk penyelesaian masalah,
dan informasi teknis lainnya yang berkaitan dengan layanan hosting Hosting24.

Problem: Browser tries to download PHP file

Disunting pada:
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!

  • Akses Website Builder
  • Jaminan Uptime 99.9%
  • Live Support 24/7
  • Powerful Control Panel
  • Jaminan Uang Kembali 30 Hari
Penawaran Terbatas!
Mulai dari
$
0
80
/bln
Hemat 90%
Beli sekarang