Short

  
 

In the process of installing locally using phpcms, go to the running environment to detect this step and find that: short_open_tag must be open.

When searching for relevant information from the Internet, I found that the short_open_tag = off item in the php.ini file is set to on, and the server can be restarted.

What is short_open_tag?

Determine whether to allow the use of the abbreviation of the code start flag (<? ?> ). If you want to use PHP
with XML, you can disable this option to embed the use of <?xml ?> . Otherwise, you can also output it via php, for example: <?php echo '<?xml version="1.0"'; ?> . If disabled, you must use the full form of the PHP
code start flag (<?php ?> ).

Note: This directive also affects the abbreviated form <?= , which is equivalent to <? echo. Using this abbreviation requires the value of short_open_tag to be On.

Copyright © Windows knowledge All Rights Reserved