Question: I'm using PHP along with latest version of Apache. Only tags are recognized.
Many of my scripts are broken. How do I allow the other tag also?
Answer: You need to allow that tag by editing php.ini file. Using short tags should be avoided when developing applications or libraries that are meant for redistribution, or deployment on PHP servers which are not under your control, because short tags may not be supported on the target server. For portable, redistributable code, be sure not to use short tags.
Open php.ini ( /etc/php.ini or /usr/local/etc/php.ini), enter:
Set short_open_tag to On:
Save and close the file. Restart webserver: