Why would you install an earlier version, everything below 8.0 has reached end of life?
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?
@Tray2 I'm currently maintaining an old project which requires PHP7.3
@Jonjie Then I suggest you put some effort into it and make it support php 8, instead of running an outdated unsupported php version.
@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.
@linxlad And yours is?
Herd has a documentation for this
https://herd.laravel.com/docs/1/advanced-usage/additional-extensions
But to follow up on the question above. Why do you want to use old PHP versions after End of Live?
@BastianG I'm currently maintaining an old project which requires PHP7.3
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
@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.
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.
@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.
@smartashvili Should it also support .asp sites and how about .net ?
@Snapey Naturally.
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.
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.
@LWlook Use Docker. This is literally what containers are for.
Why everybody seem so harsh toward this common question?
@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.
@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.
@richt222 Can you point me to some of your community minded posts?
Please or to participate in this conversation.