How do I turn off short open tags?

To disable short opening tags, you need to add the following code to your .htaccess file:

php_value short_open_tag 0

  • 1077 Users Found This Useful
Was this answer helpful?

Related Articles

Help, the cron is not working

If you run a job through PHP, for example php -f /home/username/public_html/file.php and you...

Error 502 Bad Gateway nginx and why does it occur?

If this error occurs, then HTTP requests from clients to your site are going through some kind of...

Help, my site has been hacked!

If your account has been hacked, be sure that this is not related to the security of the server....

I see a blank / white page (if the site is built in PHP)

If your site is based on PHP, the most likely cause of the problem is that you missed a symbol...

I see question marks and incomprehensible symbols on the site

If incomprehensible characters are displayed on your site, this is due to incorrect encoding of...