mpksingh Posted March 18, 2008 Share Posted March 18, 2008 Dear friends, I have a new problem. Our site www.guwahatichessassociation.com just does not open. Instead, the "File Download" window comes up. On clicking the "Find" button of this window, the result page says "Windows has the following information about this MIME type. This page will help you find software needed to open your file. MIME Type: x-httpd-php Description: UnKnown Windows does not recognize this MIME type" I changed the .htaccess file contents as below. AddType x-httpd-php .php .htm .html # AddHandler application/x-httpd-php .php .htm .html and still not working. Please help me. Best regards, mpksingh Quote Link to comment https://forums.phpfreaks.com/topic/96700-file-download-window-comes-up-instead-of-web-page/ Share on other sites More sharing options...
wildteen88 Posted March 18, 2008 Share Posted March 18, 2008 You should use AddType application/x-httpd-php .php instead. Note: in order for the AddType directive to work Apache will need be configured with the PHP Module ( eg php5apache2_2.dll) Check with your webhost whether PHP is supported with your hosting account. Not all hosts will provide PHP support, you may have to change hosts if your webhost doesn't provide PHP. Quote Link to comment https://forums.phpfreaks.com/topic/96700-file-download-window-comes-up-instead-of-web-page/#findComment-495090 Share on other sites More sharing options...
mpksingh Posted March 23, 2008 Author Share Posted March 23, 2008 Dear wildteen88, Thanks for your suggestion. The problem was solved on the day of my posting the topic itself. The problem originated from the 'control panel' mime types. There, I wrongly added "x-httpd-php" under the user defined mime types. I deleted the line and it is Ok now. The problem stands as solved. Best regards, mpksingh Quote Link to comment https://forums.phpfreaks.com/topic/96700-file-download-window-comes-up-instead-of-web-page/#findComment-498684 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.