Before create first php syntax we have to understand about the php server configuration, The php server configuration can be shows by configuration page.
Configuratin page
Php provides a method that is <?php phpinfo(); ?> , this method creates an html page that contains all the information about your php version that you have installed , how you have configure your php.ini file, what database you have and so many other information . More