RISOLTO
Per chi, come me, si è appena avvicinato alle php…
Nel file httpf.conf del server apache, bisogna assicurarsi che nella istruzione
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
siano presenti anche la pagina index.php e main.php
in patica l’istruzione deve essere
DirectoryIndex index.html index.php main.php