php handler

Status
Not open for further replies.

galaxyAbstractor

Community Advocate
Community Support
Messages
5,508
Reaction score
35
Points
48
whats wrong with "AddHandler application/x-httpd-php .html"? I added it in my .htaccess so I can write php in my html files. But nothing shows up. Neither the code or the text. I used
PHP:
<?php
 echo 'hello';
?>
 

FalseHope

Active Member
Messages
1,639
Reaction score
0
Points
36
where'd you get this add-on, downloaded it, or is it in the scripts that x10 provide?
 

VPmase

New Member
Messages
914
Reaction score
1
Points
0
Try using:
Code:
AddType application/x-httpd-php .html
 

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
AddHandler application/x-httpd-php5 .html
 

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
Sorry,

AddType application/x-httpd-php5 .html
 
Status
Not open for further replies.
Top