### Website URL
(please specify the URL of the site on which you are experiencing the problem)
No errors
(please share the FULL error message you see, if applicable)
Simple PHP test in file index.htm : <?php
echo “Hello World!”;
?>
produced nothing.
(other information and details relevant to your question)
KangJL
March 31, 2023, 9:19am
2
Shouldn’t it be index.php instead of index.htm?
3 Likes
Thanks, it works, but I expected that file with HTML and php codes must be .htm .
Again thanks for .php
Admin
March 31, 2023, 11:25am
4
Most servers by default will only execute PHP code in files with the .php
extension. Files with the .htm
or .html
extensions are assumed to be static HTML and are not processed with PHP.
2 Likes
system
Closed
April 7, 2023, 11:25am
5
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.