Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

youssefboudaya's avatar

Best laravel version to have with existing php ?

i did as shown in this site https://fr.wikihow.com/connaitre-votre-version-de-PHP to know the php version running on my server (not local).I am working with laravel 4.2 and i want to upgrade it.To which laravel version is it recommended to upgrade ?

0 likes
8 replies
zion's avatar

5.4 requires php 5.6.4.

5.5 has 7.0 as requirement so laravel 5.4 should be good to go.

Vilfago's avatar

Which host did you have that cannot run on PHP 7.x ?

youssefboudaya's avatar

@MANELGAVALDA - this is the first time i'm trying to upgrade a laravel project and i'm used to working with 5.4 version(almost 2 years).this project is not created by me so i think it would be better to upgrade to 5.4 because in case i get error or bugs i think i'll be able to solve them.

Please or to participate in this conversation.