Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finding the last version of history with php 7.4 #100

Closed
1 task done
MalikWilliams1greher opened this issue Apr 22, 2024 · 5 comments
Closed
1 task done

Finding the last version of history with php 7.4 #100

MalikWilliams1greher opened this issue Apr 22, 2024 · 5 comments

Comments

@MalikWilliams1greher
Copy link

Is this a new feature request?

  • I have searched the existing issues

Wanted change

I need to deploy an application using php 7.4 (php8 is not supported in this program). Since linuxserver/nginx has been updated to 8.3 and hundreds of versions, how do I quickly find a historical version that supports 7.4?

Reason for change

I'd like to find the latest old version, please.

Proposed code change

No response

Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@Roxedus
Copy link
Member

Roxedus commented Apr 22, 2024

  1. Check the changelog for the image.
  2. Assume 7.4 was the last before 8, thus you need a version prior to the rebase 3.14, note the date for the change.
  3. Scroll trough the releases
  4. Scroll and realize this is not quick.
  5. Find something like 1.18.0-r15-ls136
  6. Open the release and browse the files at that tag
  7. Read package_versions.txt and look for version.
  8. Find PHP EOL list and bug app devs that this version shouldn't have been used for years
  9. Do the same for Alpine, and understand this should not be used in production

@Roxedus Roxedus closed this as completed Apr 22, 2024
@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Apr 22, 2024
@thespad
Copy link
Member

thespad commented Apr 22, 2024

You'll see that the last changelog entry before the switch to PHP8 was Install nginx version from 3.14.. If you search against the repo you'll see #81 and that "This pull request first appeared in 1.20.2-r1-ls179" and there's your tag (there will be more between that and the PHP8 rebase but honestly at this age of image there's going to be little benefit in being a couple of tags more recent).

As above you absolutely should not be using a long EOL version of PHP in production but there tag is there nonetheless.

@MalikWilliams1greher
Copy link
Author

You'll see that the last changelog entry before the switch to PHP8 was Install nginx version from 3.14.. If you search against the repo you'll see #81 and that "This pull request first appeared in 1.20.2-r1-ls179" and there's your tag (there will be more between that and the PHP8 rebase but honestly at this age of image there's going to be little benefit in being a couple of tags more recent).

As above you absolutely should not be using a long EOL version of PHP in production but there tag is there nonetheless.

Is there a LTS version for php 7.4?

@Roxedus
Copy link
Member

Roxedus commented Apr 22, 2024

No, support for php 7.4 died 28 Nov 2022, as noted on the PHP EOL list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

3 participants