cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Run php in html

Hi All,

 

I have been searching with no results... How can I run php in html files. When I try versions of editing .htaccess they do not work... I was running PHP 7.2, to make it easy I have dropped back to 7.

this is one of many I have tried:

Options +ExecCGI
AddHandler fcgid-script .html
FCGIWrapper /usr/local/cpanel/cgi-sys/php7 .html
AddType application/x-httpd-php7 .html .htm
1 REPLY 1
Highlighted
Moderator
Moderator

Re: Run php in html

Hey @Darren72,

 

We've had some similar discussions on this topic before. Perhaps some of the details discussed here will help out towards resolving the site that you're developing. 

 

CG - GoDaddy | Community Moderator
24/7 support available at x.co/247support