Webmasters’ Blog @ sid.hedir.com

December 24, 2008

How to enable PHP Short Open Tag in Your Localhost

Filed under: New — sid @ 11:29 am

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.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

You must be logged in to post a comment.

Powered by WordPress

Please visit WP-Admin > Options > SPA and enter the key. Don't have a key? Signup here