Apache AddHandler application/x-httpd-php not working?
Apache AddHandler application/x-httpd-php not working?
Some times the AddHandler application/x-httpd-php .php .htm .html .my whatever if you put this in .htaccess file or in HTTPD.conf it seems to be not working.
WHY?
Because sometimes especially if you are using a shared hosting it will be always better if you can find out the version of PHP currently running on your server using phpversion().
So if your host is using PHP v 5+ then the handler that is specified above wont be working and once you hit the webpage, you will be either asked to save the webpage or probably if you check the souce you can see your php codes are not compiled properly.
How to fix this?
Its pretty simple you just need to add the below handler in your .htaccess file
AddHandler application/x-httpd-php5 .htm .php .my
Thanks 🙂
Apache AddHandler application/x-httpd-php not working?,Incoming search terms:
- inurl:_print php?event3=0 (184)
- application/x-httpd-php (114)
- AddHandler application/x-httpd-php (55)
- httpd php not working (52)
- addhandler php (27)
- apache addhandler php (27)
- apache application/x-httpd-php (24)
- AddHandler application/x-httpd-php php (21)
- stock market crash of 1929 inurl:/register intext:upcoming intext:published intext:submit intext:tag cloud -inurl: php (19)
- AddHandler apache (18)
- apache addhandler (17)
- addhandler application/x-httpd-php xml (15)
- AddHandler application (14)
- AddHandler application/x-httpd-php js (14)
- inurl:/modules php?op= security surveillance (11)
- application x-httpd-php (11)
- apache x-httpd-php (10)
- l ns qsa t=application/x-httpd-php pt (10)
- AddHandler x-httpd-php (9)
- devalues inurl:/register intext:upcoming intext:published (8)
- AddHandler application/x-httpd-php html (4)
- tag cloud inurl:/register upcoming published submit -inurl: php (2)
- php addhandler not working (2)
- addhandler application/x-httpd-php52 php (2)
- php addhandler (2)
- 01 addhandler application/x-httpd-php html (2)
- AddHandler x-httpd-php5 not working (1)
- apache2 AddHandler (1)
- AddHandler application/x-httpd-php php htm (1)
- addhandler application/x-httpd-php php htm html (1)
- AddHandler application/x-httpd-php5 php (1)
- addhandler php5 (1)
- x-httpd-php (1)
- addhandler x-httpd-php php html (1)
- apache add handler php (1)
- AddType application/x-httpd-php php htm html js (1)
- addtype application/x-httpd-php php (1)
- AddType application/x-httpd-php js (1)
- addhendler x-httpd (1)
- addhandler x-httpd-php5 php (1)
Hello
Its work my site
thanks
Don’t work for me 🙁
Please let me know what exactly is your issue?
Thanks, a lot! I’ve been searching all day…