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

  • 1074 Users Found This Useful
Was this answer helpful?

Related Articles

How can I turn off PHP error output?

To disable error output in your script, use: error_reporting (0); Remember that you need to...

Images are not showing on my site

Please make sure the images are uploaded to the server. Check that the HTML paths are correct....

I am getting access error when importing database via phpMyAdmin

If an access error is displayed when you try to import a MySQL database backup via phpMyAdmin, it...

How to fix content encoding error?

If your site shows content encoding error it may be due to GZIP compression.Try to enable or...

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...