short_open_tag is a instruction that determines whether or not PHP will recognize code written between tags. Generally php users used tags to write php code. Moreover it is been recommended for several years that not use the short tag “short cut” and instead to use the full tag combination. And if you want to use PHP in combination with XML, then in that case you can disable this option in order to use inline.
It is very easy to configure php.ini file in cpanel, below are the steps to be followed to configure php.ini file :
-
As usual login to your cpanel using your user name and password.
-
Once you login to your cpanel you will see the home page. In home page search for the option called “ php”. Once you search for the option, you can see the below image.
Once you see the above image click on the option called “select PHP version”. After clicking on that option, PHP selector / extensions page will appear, Like the below image.
Once this page is displayed, you will see the option called “switch to PHP options” at top and right side of the page. click on that option after clicking that you can see the below page.
In this page you can see the option “short_open_tag” . if you want to enable this option, select for “On” option . once it is done,click on the save button to save the changes you have made.
And today most of the people are using the XML formate where it use these tags by other languages, so this will make your server to get confused and it will lead to having wrong parsing of code in the wrong context. And if you want to use PHP in combination with XML, you can disable this option in order to use inline.
"Generally, in a PHP script, we use tags, short_open_tag is a configuration directive in the php.ini file. It will describe PHP whether the short form """" of PHP’s open tag should be allowed or not for coding in php. The php.ini will provide you to enable PHP short tags ( ). PHP.ini allows you the option to use short style opening tags for PHP code like