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 apache (11)
- inurl:/modules php?op= security surveillance (11)
- AddHandler application/x-httpd-php js (11)
- application x-httpd-php (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:_print php?v=1 (8)
- apache x-httpd-php (8)
- inurl:/register php increasing (8)
- addhandler php (8)
- AddHandler application/x-httpd-php5 (7)
- apache addhandler (7)
- AddHandler application/x-httpd-php php html htm (7)
- chose inurl:/add php (6)
- stepchild inurl:/register intext:upcoming intext:published intext:submit -inurl: php intitle:register (6)
- parentage inurl:/register intext:upcoming intext:published intext:submit -inurl: php intitle:register (6)
- AddHandler application/x-httpd-php5 js (6)
- apache addhandler javascript (6)
- asthma inurl:/register intext:upcoming intext:published intext:submit intext:tag cloud -inurl: php (5)
- mismatch inurl:/register intext:upcoming intext:published intext:submit -inurl: php (5)
- amendment inurl:/add htm (5)
- monitor inurl:/comments php (5)
- application/x-httpd-php php (5)
- AddHandler not working php (4)
- AddHandler x-httpd-php (4)
- application/x-httpd-php not working (4)
- inurl:/modules php?op= schools cooking new jersey (4)
- AddHandler application/x-httpd-php5 php (4)
- php application/x-httpd-php (4)
- addhandler application/x (4)
- addhandler application x-httpd-php php (4)
- AddHandler application/x-httpd-php5 php not working (3)
You will also be interested in ,
- mod_proxy_balancer and installation
- Url rewriting examples using .htaccess
- How to run jsp in xampp?
- How to install XAMPP
- Custom Error Pages Using .htaccess
- How to run or Configure Apache to use PHP as CGI
- make_sock: could not bind to address 0.0.0.0:80 windows apache not starting [Solved]
- Set xampp:- Apache Mysql Filezilla Mercury Tomcat as a windows service and get xampp to start automatically on boot up
- Disable the TRACE and TRACK For More Security
- mod_security the Apache Module, The Apache Firewall blocking your website?

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…