How to fix application/x-httpd-php – Trouble in getting php to parse
Do you ever faced the problem in opening your website? What if your server have trouble in parsing the php files? What if you open your blog and your browser ask to download a php file instead of opening the page? You may arrest into illusionist array of problem whenever your server messed up or have any critical troubles.
Php parsing is a common problem that is occurred due to misconfiguration in the server side, can be resists by accurate .htaccess rules. In case you are still confused on what we are going to discuss then have a look over this screenshot.(as a result of configured server files )
How to resolve this issue when .php wouldn’t execute by your server?
- Open your .htaccess file and take its backup
- Delete the old .htaccess file
- Create a new .htaccess file with CHMOD = 777 and upload the new file in ascii mode.
- Add the following handler in the blank .htaccess
AddType application/x-httpd-php .php .htm .html AddHandler x-httpd-php .php .htm .html
Alternative Way: You cal also try to add following code in the blank .htaccess
AddType application/x-httpd-php php html
After creating the new .htaccess file try to open your site, it will work perfectly fine. Note: In case you still have any issues with the server then feel free to comment here. If your hosting support is quick enough like that of Hostgator then you may contact your support team, they will easily resolve your issues.
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackbackfrom your own site.
Subscribe to our FREE Rss FeedWhat's Hot
Similar Interesting Posts
- How to set permissions for Dreamweaver ftp files
- How to resolve JQuery, Prototype, and lightbox issues to make them work on same page
- How to fix IE6 PNG Transparency issues in wordpress
- How To Create Album Art For iTunes
- How to backup your bookmarks with free bookmark manager
- Mocha FTP – How to access your Windows Mobile from remote PC
- Dropbox Hits 1 Million Members
- How to make Wordpress site much faster and responsive
- How to convert batch script files to EXE files
- How to optimize website loading time and performance
- How to alphabetize html links into order
- Google SEO Tips With Webmaster Tools
- How to Record/Download/Capture Flv Video Streaming Through Http Protocol from Youtube, Google Video, Metacafe, Myspace
- Installing WordPress in LAN
- How to upgrade / unlock your iPhone in 15 minutes
Tutorials On









January 19th, 2010 at 4:22 pm
RT @honeytech How to fix application/x-httpd-php – Trouble in getting php to parse http://bit.ly/99PCN
February 24th, 2010 at 9:41 pm
Hi,
I did what you said and unfortunately it didn’t fix the problem.
Any idea why?
-Guy
February 24th, 2010 at 11:57 pm
@Guy Droog
Have you deleted the old .htaccess file and new .htaccess is 777 ?