
Sajan P. answered 11/02/20
CTO at Enterprise PHP Software Company
If you create a page with the following contents;
Then open this page in the browser, or run the function on the command line, you'll see a line titled "Configuration File".
This will tell you the exact PHP.ini file that is being loaded.
Edit this file and find a directive named "short_open_tag", the value of this directive must be set to "On" if you want the short open tags to be executed as PHP.