PHP does not support short tags

Release: 2023-02-28 06:56:01
Original
2260 people have browsed it

PHP does not support short tags

There are two tags of php, one is the other is ?>, also called short tag

PHP does not support short tags

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

PHP does not support short tags

Find short_open_tag

PHP does not support short tags

Find the configured line

PHP does not support short tags

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.

PHP does not support short tags

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!

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!