Hi Hugo,
I took a step back here and I created a very simple test.shtml page with the following:
<!DOCTYPE html>
<html>
<body>
<h1>Welcome to my home page!</h1>
<p>Some text.</p>
<p>Some more text.</p>
<?php include 'footer.php';?>
</body>
</html>
In the same directory I create the footer.php with
<?php
echo "<p>Copyright © 1999-" . date("Y") . " W3Schools.com</p>";
?>
When I go to mydomain.com/test.shtml I can see
Welcome to my home page!
Some text.
Some more text.
but not the footer.
Could you please help me to get this simple code to work and i'll take it from there please.
so far this is what I have
CGIhandler = /usr/local/bin/ssi-cgi:shtml
CGIhandler = /usr/local/bin/php-cgi:php
FastCGIserver {
FastCGIid = PHP5_SHTML
ConnectTo = /var/run/php-fpm.sock
Extension = php, shtml
}
VirtualHost {
...
StartFile = index.shtml
UseFastCGI = PHP5_SHTML
...
}