AddHandler application/x-httpd-php5 .php

Discussion in 'Site & Server Administration' started by login, Oct 29, 2007.

  1. #1
    I have this in my .htaccess

    AddHandler application/x-httpd-php5 .php

    I remember it was something hostgator added a long time ago to get something to work. Now I have to take it away to get something else work.

    What is that line doing? I cant remember.
     
    login, Oct 29, 2007 IP
  2. Fash

    Fash Peon

    Messages:
    37
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It causes any .php files in that directory to be executed as PHP5 code.
     
    Fash, Oct 29, 2007 IP
  3. chetanmadaan

    chetanmadaan Active Member

    Messages:
    325
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55