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

kan's avatar
Level 1

Can I use PHP 5.5.29 with Laravel 5.1

Hi all,

I'm a newbie with Laravel 5.1, and I think this is a question already asked. But I know that the requirements are PHP 5.6 or newer for the Laravel 5.1.

But if I have a PHP 5.5.29, can it bring some problem to my project?

Sorry, but my English is very bad.

0 likes
5 replies
martinbean's avatar

@kan You can try it but you may find bugs. I imagine PHP 5.6 would have been a requirement for a reason and not just a random choice.

1 like
andy's avatar

From the terminal:

➜  Sites  php -v
PHP 5.5.25 (cli) (built: May 15 2015 09:30:28)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
    with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies

From Artisan:

➜  site git:(master) ✗ pa -V
Laravel Framework version 5.1.17 (LTS)

Working for me but ... it could be that I worked around issues without realizing it ... lol

1 like
kan's avatar
Level 1

Tks a lot @andy, @martinbean. I will try. I made this question because my server is cPanel, and there (my Host) doesn't have a complete support for 5.6. And there is no prevision to upgrade it.

If I search any problem, I'll post to list possible problems if not use PHP 5.6 with Laravel 5.1

phildawson's avatar

But I know that the requirements are PHP 5.6 or newer for the Laravel 5.1.

Huh L5.1 requires PHP >= 5.5.9 and you have 5.5.29 so that's fine.

http://laravel.com/docs/5.1/installation

But seriously I'd drop any provider thats not on 5.6 with no prevision to upgrade it.

1 like
andy's avatar

@phildawson 100% agree about hosting provider. I've always hated hosting companies that keep php versions way behind. If they were running CentOS ... then maybe I could understand.

Please or to participate in this conversation.