Well.. I think you need to downgrade your dependencies manually in composer.json file. May be one by one bind the compatible package and then update your composer....
Laravel 4.2 php version
Hi, As I seen on documentation, Laravel 4.2 requires php 5.4 or higher. However recently I'm getting the following fatal error running my app on a server with php 5.4 installed: syntax error, unexpected 'finally' (T_STRING), expecting catch (T_CATCH).
The error points to "/Applications/MAMP/htdocs/directorio-landings/vendor/symfony/dependency-injection/ContainerBuilder.php", so i guess that this error appears with the lastests Symfony updates.
Is there a way to downgrade that components and still having laravel working on php 5.4?
The error disappears when I run the app on MAMP server with php 5.5.
Thanks!
Hi,
Finally the solution was to downgrade my installed php version to 5.4.45, rename the vendor folder and reinstall everything again.
Now it works :)
Thanks again for all responses!
Please or to participate in this conversation.