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

Support PHP 7 #206

Open
Ipstenu opened this issue Jan 28, 2025 · 2 comments
Open

Support PHP 7 #206

Ipstenu opened this issue Jan 28, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@Ipstenu
Copy link

Ipstenu commented Jan 28, 2025


name: Support PHP 7
about: Allow PHP 7 Support for testing


Description of the feature
I love this Docker image :) I'm using it as a local-host version of my production site, so I can test Modules we're building.

However, since we use AWS images, and the only version that works on Laravel 5 is the PHP 7 version, I'm stuck using PHP 7 for the foreseeable future (this is something I'm long term working on a better fix for, but it's a very annoying conflict). I use PHP 8 in so many places, I often forget that some code aspects aren't available on 7, which results in me breaking my staging server (no worries, I'm not silly enough to push right to production!)

My request is to allow us to tag a release image: tiredofit/freescout:php7.4 so we can define what version we need to use.

Benefits of feature
Allowing PHP 7 would allow parity with what FreeScout actually supports (7.1-8.whatever - see https://github.com/freescout-help-desk/freescout#requirements )

Some code also use PHP 8 specific language, and this would be a quick way to know "Oh heck, this'll break!" (like FreeScout broke PHP 7 IMAP with a PHP 8 only change)

It would also allow me to test out how the heck to update without having to do it on a real server, but that's more of a me thing :)

Additional context
If and ONLY IF that could be automated, I'd love to see it. if that's something you'd have to run manually, please close this ticket ASAP. I don't want to create long term extra work!

For an example of the headache from PHP 7, as I mentioned I use AWS. Well....

  • Connecting to the modern AWS API on PHP 8 requires at least v3 of the SDK library
  • AWS SDK v3 requires Guzzle 7
  • Guzzle 7 is not compatible with Laravel 5
  • There are no plans to update FreeScout past Laravel 5

So it's a circle of madness for me and I fully blame Amazon.

@Ipstenu Ipstenu added the enhancement New feature or request label Jan 28, 2025
@tiredofit
Copy link
Owner

You can try to build your own changing out the PHP version and see if it works. Otherwise I'd be willing to work on a paid support basis to reinstate some sort oh PHP 7.x builds. It's been a couple years since 7.4 has been EOL.

@Ipstenu
Copy link
Author

Ipstenu commented Jan 28, 2025

Sure thing.

I was hoping (heh) it was as simple as automating a number, but I totally get when it's not :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants