Skip to content

Support PHP 7 #206

@Ipstenu

Description

@Ipstenu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions