Backlight 5.4.2 - highest PHP version fully supported?

My server was running under PHP version 8.1.x which my host announced to be legacy from next year on.
I updated now to PHP 8.2 since that seems to be fully supported by BL 5. They recommend PHP 8.4.

I searched and googled for half an hour now and can not find any specification that tells me which PHP version is fully supported by Backlight 5.x?

Why is that information not readily available? It should state somewhere in the module which version of PHP is fully supported!

@Ben posted this earlier this year:

We support the latest PHP version available during the lifetime of our Backlight version. Since Backlight 6 is current, that means it currently supports PHP up to version 8.4. Backlight 6 will also support PHP 8.5, which is coming out later this year.

Hi @skipper, Backlight 5 officially supports up to version 8.2 of PHP. Backlight 6 up to PHP 8.5.
You may well find that BL5 runs without issue on newer versions, but we haven’t tested it and can’t guarantee that it will.

1 Like

Ok, thank you for the information!

1 Like

Hi Ben,
I’m trying to install BL2 on my synology Nas, The lowest version of php I can have on the Nas is 8.2
I’m getting the below error when I try to access to run admin.
Creation of dynamic property AdminController::$dbHandler is deprecated|#0 /volume1/web/liamryanphotography.com/backlight/modules/module-framework/controllers/Controller.php(45): ErrorHandler::handleError(8192, ‘Creation of dyn…’, ‘/volume1/web/li…’, 45) #1 /volume1/web/liamryanphotography.com/backlight/modules/module-admin/application/controllers/AdminController.php(10): Controller->loadDAO(Array) #2 /volume1/web/liamryanphotography.com/backlight/modules/module-framework/models/Dispatchable.php(292): AdminController->__construct(‘index’) #3 /volume1/web/liamryanphotography.com/backlight/modules/module-framework/models/Dispatchable.php(215): Dispatchable->createControllerIfNeeded() #4 /volume1/web/liamryanphotography.com/backlight/modules/module-framework/models/Dispatchable.php(89): Dispatchable->processParameters() #5 /volume1/web/liamryanphotography.com/backlight/modules/module-framework/Framework.php(50): Dispatchable->init() #6 /volume1/web/liamryanphotography.com/backlight/index.php(32): Framework->route() #7 {main}|URL: /liamryanphotography.com/backlight/index.php

Does Backlight 2 support PHP 8.2

I’m pretty sure it doesn’t. Ben will need to confirm that, but you’re best solution will probably be to upgrade to BL6

1 Like

Hi @LiamRyan, Backlight 2 supports up to PHP 7.4. I recommend upgrading to Backlight 6, which supports up to PHP 8.5, the latest release.

If you do chose to upgrade, I recommend the following steps:

  1. Making a backup of your entire backlight/ directory
  2. Downloading the latest installer, available with the purchase
  3. Replacing the backlight/installer directory with the contents of the backlight/installer directory downloaded in step 2. Importantly, you would leave the rest of the contents of the backlight/ directory, and all directories above it (such as galleries) intact.
  4. Visiting https://yoursite.com/backlight/installer and logging in with the email address made to purchase Backlight 6.
  5. Logging into your Backlight admin.

This should then perform all of the database upgrades from Backlight 2 to Backlight 6. If you encounter any problems with this then I can help advise.

Steps 2-4 would be needed since the incompatibility of both backlight itself and the installer files downloaded with it would mean upgrades via the Backlight Modules page would likely fail, if you could get to it at all.

1 Like

Thanks Ben,
I’ll purchase version 6.
Not sure if I’ll use cart or client response again, I presume the older cart and client response will not work with very.6

If you use the same email address to purchase BL6, you may see updates available for Cart and CR in your Backlight Modules page.

A while back Matt made it so purchased add-ons get updated at no extra cost.
I don’t recall the earliest version that applies to.
(There was a blog post about it, but those older posts are currently unavailable)
But if you see updates available to install, then you won’t have to repurchase.

Thanks Rod,

I’ll check it out, fingers crossed :grin:

You were correct Rod,

All modules I previously purchased were available.

1 Like