Hyp3r grunt
10-18-2007, 07:57 PM
I've ran into a big problem. On my website all the pages have '.html' extensions. They're all capable of running php because of my '.htaccess' file. I also have a feed that updates itself automatically by using php and pulling information from a database. Below is my '.htaccess' file.
Addhandler application/x-httpd-php .html .php
Addhandler application/x-httpd-php .xml .php
I want to run PHPBB 2 on my website and when I install it and try to log in I get this error:
'Fatal error: SUHOSIN - Use of eval is forbidden by configuration in /home/halonirv/public_html/phpBB2/includes/template.php(174) : eval()'d code on line 174'
I asked my host about it because I thought it had something to do with them and I got this response:
'The problem was with your PHP handlers in your .htaccess file. I commented them out and it should work now.'
He took my '.htaccess' and put '#'s in front of the commands. This made PHPBB 2 work but it made it so the pages with '.html' extensions were no longer capable of running PHP. I'm not sure about my feed. (It's file extension was '.xml' and it was RSS version 2)
So what do I do to make it so I can run PHP on pages that end with '.html' and '.xml' and make PHPBB 2 work as well?
Addhandler application/x-httpd-php .html .php
Addhandler application/x-httpd-php .xml .php
I want to run PHPBB 2 on my website and when I install it and try to log in I get this error:
'Fatal error: SUHOSIN - Use of eval is forbidden by configuration in /home/halonirv/public_html/phpBB2/includes/template.php(174) : eval()'d code on line 174'
I asked my host about it because I thought it had something to do with them and I got this response:
'The problem was with your PHP handlers in your .htaccess file. I commented them out and it should work now.'
He took my '.htaccess' and put '#'s in front of the commands. This made PHPBB 2 work but it made it so the pages with '.html' extensions were no longer capable of running PHP. I'm not sure about my feed. (It's file extension was '.xml' and it was RSS version 2)
So what do I do to make it so I can run PHP on pages that end with '.html' and '.xml' and make PHPBB 2 work as well?