How to resolve “You have chosen to open: X-httpd-php”?

I’m getting the following error from browsers when trying to open my website.
You have chosen to open:
You have chosen to open: X-httpd-php

Can anyone help me to resolve this issue?

1 Answer

    1. Open .htaccess file and take a backup file first before editing
    2. Delete the old .htaccess file Or you can rename the file on the server.
    3. Create a new .htaccess file and upload the new file on the server.
    4. Add the following code in the blank .htaccess
      AddType application/x-httpd-php .php .htm .html
      AddHandler x-httpd-php .php .htm .html

    If the issue still not resolved then kindly contact the hosting provider.

  1. Reply

Leave a Comment

izmir eskort - mersin eskort bayan - adana eskort - antalya eskort - eskort istanbul
Code Compiler Web Tools Contact