How to turn off short tags by php
Php how to close short tags, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.
Php closes the method of short tag: 1, open "php.ini" file search "short_open_tag" item; 2, set the parameter of "short_open_tag" to off;3, restart the service.
This article operating environment: Windows7 system, PHP7.1, Dell G3 computer.
How does php turn off short tags?
Php turns short tags on and off
Sometimes short tags are really useful, but some space merchants do not open them, which will lead to error problems.
We need to open php.ini search short_open_tag and turn on / off on or off. Then restart the service.
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.