Page 1 of 1

How to enable <? to recognise as a php tag

Posted: Mon Jun 28, 2010 4:59 pm
by Saman
If you were migrating your existing web site written in php4 to php5, you might have encountered that the <? is not recognised as a php open tag. This is due to a setting in php.ini file.

Find following setting,

Code: Select all

short_open_tag = Off
Change it to,

Code: Select all

short_open_tag = On