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

  • 141 Users Found This Useful
Was this answer helpful?

Related Articles

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

MySQL server does not work! (Error 28)

Please try to start restoring the database by going to Control Panel - Databases, select the...

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

How can I turn off PHP error output?

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

I am getting Internal Server Error (500)

This error is generalized when there is a problem the server cannot process a request to the site...