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 (91)
- httpd php not working (35)
- AddHandler application/x-httpd-php (32)
- apache application/x-httpd-php (19)
- AddHandler application/x-httpd-php php (16)
- addhandler application/x-httpd-php xml (15)
- apache addhandler php (14)
- AddHandler application/x-httpd-php js (12)
- application x-httpd-php (11)
- AddHandler apache (11)
- inurl:/modules php?op= security surveillance (11)
- l ns qsa t=application/x-httpd-php pt (10)
- AddHandler application (9)
- isolationist inurl:/register intext:upcoming intext:published intext:submit -inurl: php (9)
- inurl:/register php increasing (8)
- apache x-httpd-php (8)
- inurl:_print php?v=1 (8)
- addhandler php (8)
- AddHandler application/x-httpd-php php html htm (7)
- AddHandler application/x-httpd-php5 (7)
- apache addhandler (7)
- apache addhandler javascript (6)
- 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)
- asthma inurl:/register intext:upcoming intext:published intext:submit intext:tag cloud -inurl: php (5)
- application/x-httpd-php php (5)
- mismatch inurl:/register intext:upcoming intext:published intext:submit -inurl: php (5)
- monitor inurl:/comments php (5)
- amendment inurl:/add htm (5)
- AddHandler x-httpd-php (4)
- AddHandler not working php (4)
- addhandler application/x (4)
- php application/x-httpd-php (4)
- addhandler application x-httpd-php php (4)
- inurl:/modules php?op= schools cooking new jersey (4)
- AddHandler application/x-httpd-php5 php (4)
- application/x-httpd-php not working (4)
- php addhandler not working (3)
You will also be interested in ,
- Custom Error Pages Using .htaccess
- Speed up wordpress using .htaccess part 1
- Adding Handlers Directly In httpd.conf Of Apache
- Speed up wordpress using .htaccess part 2
- make_sock: could not bind to address 0.0.0.0:80 windows apache not starting [Solved]
- How to run jsp in xampp?
- mod_proxy_balancer apache load balancing
- ScriptAlias and Alias in httpd.conf at a glance
- How to run or Configure Apache to use PHP as CGI
- Get IP address using gethostbyname() function

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…