I am using this “tutorial” (i put only steps without descriptions) .but it still not work for me
cd /usr/local/hestia/data/templates/web/apache2/php-fpm/
sudo nano default.tpl
sudo nano default.stpl
<Directory %docroot%>
AllowOverride All
Options +Includes -Indexes +ExecCGI
Require all granted
AddType application/x-httpd-php .html .htm
</Directory>
sudo service apache2 restart
cd /usr/local/hestia/data/templates/web/nginx/php-fpm/
sudo nano default.tpl
sudo nano default.stpl
location ~ \.html$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
sudo service nginx restart
And on view source i still see this
<!-- test.html -->
<?php
phpinfo();
?>