Question
I just installed WAMP, and I can't get my <?
to work.
Is there a module I need to enable?
Thanks.
Solution
You need to have short_open_tags enabled to use the <?
open tag. But I recommend you not to use them but to use the standard open tag <?php
for compatibility and portability reasons.
OTHER TIPS
- Open your php.ini file.
- Set line: short_open_tags = 1
- Reload Apache.
- Like said above, this is not recommended, but if you're just learning and creating sample applications, that is tolerable.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow