Web Servers

How To Enable PHP short tags

In this article, we have covered how to enable PHP short tags.

PHP parses file using opening and closing tags, which are looks like <?php and ?>.

To enable PHP short tags we need to add short_open_tag=on in php.ini configuration file directive or configure PHP with --enable-short-tags option.

After settings made, we can use <? ?> PHP short tag.

In this article, we have covered how support engineers enable PHP short tags.

[Need assistance to fix this error or install tools? We’ll help you.]

Tags:
Related Articles