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

Jonjie's avatar
Level 12

How to install PHP 7.3 or lower version in Laravel herd?

How to install PHP 7.3 or lower version in Laravel herd?

The documentation says, it oly supports PHP 7.4 - 8.3. Is there by any chance, to install lower php version in herd?

https://herd.laravel.com/docs/1/getting-started/about-herd

0 likes
20 replies
Jonjie's avatar
Level 12

@Tray2 I'm currently maintaining an old project which requires PHP7.3

1 like
Tray2's avatar

@Jonjie Then I suggest you put some effort into it and make it support php 8, instead of running an outdated unsupported php version.

2 likes
linxlad's avatar

@Tray2 This isn't a helpful comment. Lots of industries run PHP projects that no longer supported. Our legacy system runs on PHP 5.6. We are building a new platform in 8.3 but we are still having to support this platform.

25 likes
Jonjie's avatar
Level 12

@BastianG I'm currently maintaining an old project which requires PHP7.3

1 like
Snapey's avatar

if it says 7.4+ then thats what it is.

Herd uses binary images of each PHP version and I doubt they see any reason to create a 7.3 binary

2 likes
Jonjie's avatar
Level 12

@Snapey I'm currently maintaining an old project which requires PHP7.3. I'm just wondering if there is by any chance. And I know I can use homebrew or any alternatives, but I just want to try it using herd.

martinbean's avatar

but I just want to try it using herd.

@Jonjie Well you can’t. As you’ve discovered (and have been told multiple times by different people now) Herd only supports versions of PHP 7.4 and above.

You can instead create a Docker environment for your project that uses the PHP 7.3 image. Or upgrade your project instead of putting this much time and effort in using outdated and unsupported versions of software.

1 like
r1ptin's avatar

@jonjie asked a very reasonable question, no neeed to act so surprised. There are tons of large-scale projects that use legacy PHP which would take months to upgrade. It would have been a common use case if Herd supported older versions.

11 likes
jlrdw's avatar

Herd is a development environment. What would it have to do with the production environment. You can make your own custom lamp or wamp stack for development. Sorry if I don't see what an issue even is here.

2 likes
LWlook's avatar

I need in my development environment php version 7.3 because we have an project where multiple persons are working to upgrade it and for a full upgrade it takes about 1 1/2 years.

rizaldywirawan's avatar

Why everybody seem so harsh toward this common question?

2 likes
JussiMannisto's avatar

@rizaldywirawan Because Herd clearly states its requirements, yet people keep complaining that it should support end-of-life PHP versions because their app hasn't been updated.

Luckily, Herd isn't necessary for development.

It's not hostile to say that you shouldn't use PHP versions that haven't received security updates for years.

Someone claimed it would take 18 months for them to upgrade from PHP 7.3, which is ludicrous for a project of any size.

richt222's avatar

@rizaldywirawan Agree. Poor community feel, right? Seems to so often be the case these days :( Even if what's being said is correct (and that's not exclusively the case here), there are more supportive ways to say it to your fellow developers.

Please or to participate in this conversation.