Friday, February 22, 2013

How to enable PHP short tags?

Need <? instead of <?php



Set in php.ini

short_open_tag=On


Or

Set in .htaccess

php_value short_open_tag 1

You need to restart PHP to reload

No comments:

Post a Comment