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 ![]()
Incoming search terms:
- application/x-httpd-php (112)
- httpd php not working (49)
- AddHandler application/x-httpd-php (42)
- apache addhandler php (23)
- apache application/x-httpd-php (23)
- stock market crash of 1929 inurl:/register intext:upcoming intext:published intext:submit intext:tag cloud -inurl: php (19)
- AddHandler application/x-httpd-php php (16)
- addhandler php (15)
- AddHandler apache (15)
- addhandler application/x-httpd-php xml (15)
- apache addhandler (14)
- AddHandler application/x-httpd-php js (13)
- application x-httpd-php (11)
- inurl:/modules php?op= security surveillance (11)
- apache x-httpd-php (10)
- l ns qsa t=application/x-httpd-php pt (10)
- AddHandler application (10)
- isolationist inurl:/register intext:upcoming intext:published intext:submit -inurl: php (9)
- inurl:_print php?v=1 (8)
- AddHandler application/x-httpd-php5 (8)
- inurl:/register php increasing (8)
- apache addhandler javascript (7)
- AddHandler application/x-httpd-php php html htm (7)
- chose inurl:/add php (6)
- parentage inurl:/register intext:upcoming intext:published intext:submit -inurl: php intitle:register (6)
- stepchild inurl:/register intext:upcoming intext:published intext:submit -inurl: php intitle:register (6)
- AddHandler application/x-httpd-php5 js (6)
- addhandler not working (5)
- AddHandler application/x-httpd-php5 php (5)
- serva inurl:/forums php what\s going on?\ (5)
- AddHandler x-httpd-php (5)
- monitor inurl:/comments php (5)
- mismatch inurl:/register intext:upcoming intext:published intext:submit -inurl: php (5)
- addhandler application/x-httpd-php * (5)
- asthma inurl:/register intext:upcoming intext:published intext:submit intext:tag cloud -inurl: php (5)
- application/x-httpd-php php (5)
- application/x-httpd-php not working (5)
- 2411 inurl:/add php (5)
- amendment inurl:/add htm (5)
- php handler not working (4)
You will also be interested in ,
- Fix the problem in getting 500 Internal Server Error In Localhost Due To .htaccess
- How to run jsp in xampp?
- How to run or Configure Apache to use PHP as CGI
- mod_security the Apache Module, The Apache Firewall blocking your website?
- Speed up wordpress using .htaccess part 2
- .htaccess some facts and rules
- IE compatibility view force Internet Explorer to use Internet Explorer 7 rendering mode
- make_sock: could not bind to address 0.0.0.0:80 windows apache not starting [Solved]
- Fix 500 Internal Server Error In WordPress
- Disable the TRACE and TRACK For More Security


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…