EN
apache2 - PHP 7.2 is enabled but does not execute index.php on my page after server installation
2
points
In this article we want to explain what can be reasone why index.php
is not executed proper way after apache2 server is installed on Linux and we open http://localhost
url in web browser.
Probem solution: remove
index.htm
from script directory.
By default index.html
is located inside /var/www/html/
directory. index.html
has bigger priority than index.php
.
So you can run following command:
sudo rm /var/www/html/index.html