FreeHostia Forums
https://forum.freehostia.com/

Parse PHP
https://forum.freehostia.com/viewtopic.php?f=7&t=45321
Page 1 of 1

Author:  christh [ Thu Nov 17, 2011 10:13 pm ]
Post subject:  Parse PHP

Hi

Sorry for this question but I just can't get my test site to parse the php within the html.

I thought

Code:
AddHandler application/x-httpd-php52 .php .php5 .php4 .php3


In the .htaccess would do the job but it's not.

Anybody please tell me where I'm going wrong?

Many thanks

Chris

Author:  Andy [ Fri Nov 18, 2011 4:59 am ]
Post subject:  Re: Parse PHP

Please try again by using this one:

AddHandler fcgid-script .html .htm

Author:  christh [ Fri Nov 18, 2011 8:11 am ]
Post subject:  Re: Parse PHP

Thanks Andy but that is not working for me.

I've tried a number of variations

Code:
AddHandler application/x-httpd-php52 .php .php5 .php4 .php3
AddHandler application/x-httpd-php .html .htm
AddHandler fcgid-script .html .htm .php


Any other suggestions?

Thanks

Chris

Author:  Andy [ Fri Nov 18, 2011 9:13 pm ]
Post subject:  Re: Parse PHP

Please try with this one:

AddHandler fcgid-script .html

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/