browser tries to download php

Browser tries to download php pages screenshot

Question:

Sometimes my browser tries to download or save php files from my website. What causes this? How can it fix it?

Answer:

This can happen for a variety of reasons. However we frequently see it when a page is timing out. If you are connecting to a remote database make sure that the database is up and that dns is resolving correctly for it.

One thought on “browser tries to download php”

  1. Found the problem. The following lines were in my original .htaccess file:

    # Set the catch-all handler to prevent scripts from being executed.
    SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006

    # Override the handler again if we're run later in the evaluation list.
    SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003


    and WERE working before the update. I commented out those lines and my site is running again. Thanks for providing a place for sharing tips!

Leave a Reply

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