Short_open_tag not working

I have a client that I migrated from CPanel, they use PHP 5.6 for that specific domain. I have noticed that their code uses tags like:

<? instead of <?php The ones inside <? don't work. I tried adding php and it works fine, but I can't edit the entire client's application. In php.ini it is On by default. Why doesn't it work? Best regards!

Are you sure it s on for fpm?

grep -ri short_open_tag /etc/php/5.6/
1 Like

Right… I was modifying it on another path… when we are dizzy, it’s best to stop and think hahaha. Thank you very much for your help, I found it.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.