I know that many similar questions have been asked here, but none of the solutions to this problem helped me.
I add AddType application/x-httpd-php .php .html .htm
entry to .htaccess
file, but php is only executed at the root in index.html page, but in index2.html page at the root of the site no longer being executed, and accordingly in the directories also php is not executed.
Tell me, please, because of what such effect and how to solve this problem on a specific domain?
On the server installed Ubuntu and Vestacp.