williampritchard — 2013-06-12T08:14:18-04:00 — #1
Im using wamp server 2 in my pc which running on window 7, I have developed some php files and used php short tags inside it, but whenever I run php file one error appear on screen and stop script. Please suggest me what to do.?
behati — 2013-06-13T02:39:16-04:00 — #2
It should be enough to enable short_open_tags in your php.ini file - I personally don't recommend using shorttags though, as they can mess up when moving code or changing the environment (as in your case).
If you're unsure, open your PHP.ini file, add the line:
short_open_tags = 1
Restart your apache and you should be ready to go.
hope that helps
williampritchard — 2013-06-19T07:40:10-04:00 — #3
Thanks behati now all files running successfully. Next time i try to use full tag instead of using short tags because they are really messed up.