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

samucar's avatar

Mininum required PHP version for 5.1.*

I've just noticed in the new docs that the minimun required PHP version for 5.1 it's PHP >= 5.5.9 http://laravel.com/docs/5.1/#installation

while in the 5.0 docs http://laravel.com/docs/5.0#server-requirements it says PHP >= 5.4, any specific reason why?

I just started a project using the 5.0.* version and will be running in a server with PHP 5.4, will I have any issues if I update to 5.1?

What do you guys recommend? thanks in advance

0 likes
5 replies
sukonovs's avatar

Yes, you will have issues on PHP 5.4 version, composer update will not work. General recommendation is upgrade PHP to newest version. Only exception to this rule is legacy nightmare apps.

1 like
insight's avatar

Dear Friends,

I am a newbie developer in Laravel. My Godaddy account only supports php 5.3 or 5.4. I think Laravel need minimum PHP version 5.6 . Am I right ?

I got error on home page as

"Parse error: syntax error, unexpected T_CLASS, expecting T_STRING or T_VARIABLE or '$' in /home/content/87/12501387/html/swaram/index.php on line 53"

Thanks

Anes P A

spekkionu's avatar

PHP 5.3, 5.4, and 5.5 are no longer supported.

http://php.net/supported-versions.php

If your hosting company does not support at least 5.6 (and it really should be 7+) it is not a company worth using.

That said I would be surprised if a hosting company as large as Godaddy doesn't offer newer versions of php. You might need to contact their support to be upgraded.

Please or to participate in this conversation.