Home > Article > Backend Development > PHP does not support short tags
There are two tags of php, one is the other is ?>, also called short tag
How to enable the second type of short tags to be used in the program? This requires us to enable the configuration of short tags. Find the php configuration file, right-click and open it with a text editor
Find short_open_tag
Find the configured line
Change to short_open_tag=On, if it is already On, it means that the short tag has been turned on, and there is no need to set it again.
After the appeal step is completed, save and close the file, restart the php environment, At this time, PHP's short tag will take effect.
Recommended: php server
The above is the detailed content of PHP does not support short tags. For more information, please follow other related articles on the PHP Chinese website!