What is the problem? Is it related to nginx? I saved it with sublime text3 and opened it directly on the server with a browser
It needs to be plugged in the server environment, that is, the http/https protocol. You are under the local file://, of course it will not work
Change the file name to index.php There is also
Change the suffix to .php
It needs to be plugged in the server environment, that is, the http/https protocol. You are under the local file://, of course it will not work
Change the file name to index.php There is also
Change the suffix to .php