xProteuSx Posted October 24, 2011 Share Posted October 24, 2011 How / where do I edit the php.ini file to parse HTML files for PHP? I've tried about 20 different searches on Google, but I must be asking the question wrong, because I can't find how to do this. Also, I am using WampServer ... Thank you in advance. Quote Link to comment Share on other sites More sharing options...
trq Posted October 24, 2011 Share Posted October 24, 2011 This isn't a PHP setting, but an Apache one. AddType application/x-httpd-php .html Quote Link to comment Share on other sites More sharing options...
xProteuSx Posted October 24, 2011 Author Share Posted October 24, 2011 I've put this into a .htaccess file, but it won't work when I put this file in the local root folder of WampServer ... that's why I am looking for alternatives. HELP!!!! Quote Link to comment Share on other sites More sharing options...
trq Posted October 24, 2011 Share Posted October 24, 2011 I would add to the virtual host configuration, though it should work in a .htaccess What errors are in your log? Quote Link to comment Share on other sites More sharing options...
xProteuSx Posted October 24, 2011 Author Share Posted October 24, 2011 God, I don't even know where to look for the error log ... Quote Link to comment 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.