I have a web application I'm moving from a web server to an other.
On the old server I have:
Ubuntu LTS 12 PHP 5.3.28
On the new one Ubuntu LTS 14 PHP 5.5.9
One file produce a syntax error on the new server:
http://pastebin.com/5RMq4SU8 (it's huge, don't want to copy past it here)
php -l /var/www/AndroidReviews/myapp/plugins/tools.php
PHP Parse error: syntax error, unexpected end of file in /var/www/AndroidReviews/myapp/plugins/tools.php on line 455
On the previous one, every thing works fine
I didn't used php for a few years but php -l
just verify the file without processing the includes right ?
Do you have any idea of what cause this problem, and how to fix it ?