obay Posted October 22, 2007 Share Posted October 22, 2007 i have php codes in .html files. when i load the pages, some of the php codes are displayed instead of being parsed. so i added application/x-httpd-php for .html using cpanel's Apache Handlers. how long before it takes effect? Quote Link to comment Share on other sites More sharing options...
derwert Posted October 22, 2007 Share Posted October 22, 2007 You have to restart apache after you make that change unless you did it in a .htaccess file. Keep in mind adding php processing to .html files will add overhead to the server for files that don't have any PHP in them. Quote Link to comment Share on other sites More sharing options...
obay Posted October 22, 2007 Author Share Posted October 22, 2007 thanks!! it's working fine now! 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.