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. Link to comment https://forums.phpfreaks.com/topic/249683-set-phpini-to-parse-html-files-for-php/ 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 Link to comment https://forums.phpfreaks.com/topic/249683-set-phpini-to-parse-html-files-for-php/#findComment-1281712 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!!!! Link to comment https://forums.phpfreaks.com/topic/249683-set-phpini-to-parse-html-files-for-php/#findComment-1281734 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? Link to comment https://forums.phpfreaks.com/topic/249683-set-phpini-to-parse-html-files-for-php/#findComment-1281735 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 ... Link to comment https://forums.phpfreaks.com/topic/249683-set-phpini-to-parse-html-files-for-php/#findComment-1281744 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.