Answer the question
In order to leave comments, you need to log in
Short_open_tag = on does not work, what can affect?
I'm trying to enable a shorthand php entry like <?=$someVar?>
In the /etc/php5/fpm directory, I edit the short_open_tag directive of the php.ini file, set the value to On.
But the abbreviated tags did not work and do not work, tell me where to dig.
Answer the question
In order to leave comments, you need to log in
1. restart php-fpm
2. make sure that PHP is processed using this technology
3. an entry like <?=$someVar?> works fine even with short_open_tag = off
<?php echo ini_get('short_open_tag') ?> what does it say? Maybe the value is overwritten somewhere? In php-fpm pools for example.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question