If PHP works like CGI, then you cannot use the .htaccess file to set PHP flags, this only works if PHP is an Apache module.
You can use ini_set to set this flag from a PHP script, but this will not help you, since ini_set only affects the current PHP process and is not saved.
Your only option is to ask your host to include short tags in php.ini or edit each PHP file to replace <? with <?php <? with <?php
source share