How to enable PHP Short Open Tag in Your Localhost
Problem:
I am working with a project, which uses php short open tag, i.e., “<?”.
Fine. No problem. But my WAMP version 1.6.6 does not support it by default.
Solution:
Start WAMP. Follow: Config Files -> php.ini
Find “short_open_tag”. Note the default setting is ‘Off’. Turn the flag to ‘On’. Like this:short_open_tag = On ; allow the tags are recognized.
And you are done.
Anyway, feeling glad to come back after long days.
Merry Christmas!
P.S.Hopefully, I’ll be able to make a fresh entry before the new year.