Php Files Downloading from Browser

If client get the download box if tring to view his domain from the browser then you can use following solution to fix this.

Open the .htaccess file for that domain and add following line into .htaccess file

AddHandler application/x-httpd-php .php .phtml

Leave a Reply

Your email address will not be published. Required fields are marked *