PHP Parse error: syntax error, unexpected end of file in

I had a script working perfectly on a server…
after moving it to another, I got PHP Parse error: syntax error, unexpected end of file.

In my case, I had to allow short_open_tag to ON in php.ini … probably located at /etc/php.ini.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.