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

  • 1059 Users Found This Useful
Was this answer helpful?

Related Articles

Domain does not work with "www"

If you cannot access your site using your domain without “www”. (Example.com) but with "www." it...

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

How can I turn off PHP error output?

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

403 Forbidden Error

Reasons for the error:1. Incorrect content of the index.php or index.html file, its...

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