The problem is with your php.ini (PHP's configuration file)
You have to open php.ini, search for: short_open_tag, you will see that is set to Off, change it to On.
Save php.ini and restart your webserver.
Description of short_open_tag in php.ini:
Code:
; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
; NOTE: Using short tags should be avoided when developing applications or
; libraries that are meant for redistribution, or deployment on PHP
; servers which are not under your control, because short tags may not
; be supported on the target server. For portable, redistributable code,
; be sure not to use short tags.