Bonjour,
I can't get working a php script in an html file: the same file:
<!DOCTYPE html> <html lang="fr_FR">
<head> <meta charset="utf-8" /> </head>
<body> <h1><?php echo 'toto' ;?></h1>
</body>
</html>
returns "toto" in toto.php and nothing in toto.html
I tried many things:
.htaccess with
AddHandler application/x-httpd-php .htm .html AddType application/x-httpd-php .html
Or modify some lines in /etc/httpd/conf.d/php.conf (FilesMatch, etc.)
Nothing had any success...
I run f40 with httpd and php from the distro.
Thanks for any help.