PHP code was not getting executed in the index.html file when the concerned website was opened in a browser. nginx server was being used to serve the web pages.
2.1 Install php7.0-fpm
$ sudo apt-get install php7.0-fpm2.2 nginx configuration
Add the following lines to the nginx configuration file, /etc/nginx.conf… Read more