I have a legacy PHP application that was built on codeigniter and still runs PHP5.3 on a server managed using PLESK. It was recently migrated to another server with the same environment.
However, in some parts of my view files, the PHP short open tag <?=
was changed into <!--?=
I want to find out what is doing this in order to have it disabled.
Then you need to change short_open_tag
in your php.ini file.
If you don't have access to your config file, then you need to enable it through your admin interface...
I'm not sure about PLESK, but in cPanel, you'd go to:
cPanel > Software > Select PHP Versions
From the "php options" page, you will see an option for short_open_tag
near the bottom of the options - change this to On
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.