How to solve PHP file downloading issue?

This problem is mostly happend when there is some mis configuration and no any .PHP handler is being set on the Apache Server.
As all request are process via .htaccess file configuration setup. We have to do manually setup of code in .htaccess file. 

To solve this error just Login into your hosting panel or FTP and navigate to > Public_Html folder
if there is some file already exist with name ".htaccess" just click edit and if there is no
any file create a new ".htaccess" file, and add the following line to it:

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

After add this line click save and try again after refreshing your website link. If you still face this issue try clear your web browser/system cache/cookies and try restart your internet/computer device.

  • php, php file download
  • 0 Kasutajad peavad seda kasulikuks
Kas see vastus oli kasulik?

Seotud artiklid

How to show hidden files (.htaccess) in cPanel File Manager?

Many users ask us how they can see the .htaccess files for their websites in cPanel File Manager....

How Can I Compress / Uncompress Files Using the File Manager?

How to Compress Files Go to the File Manager. Navigate to the folder where the files you want...

How to View Your cPanel Disk Space Usage?

In order to view your cPanel disk space usage, there’s a great tool located inside of your...

Accessing webmail for your domain

To access the included webmail email clients included with your hosting account, you’ll need to...

How to rename a database in phpMyAdmin?

phpMyAdmin is a free and opensource application for MySQL database management. It is one of the...