sysPass icon indicating copy to clipboard operation
sysPass copied to clipboard

Debian 11 + php8 compatibility

Open yaniska22 opened this issue 1 year ago • 5 comments

Hello,

Since the app has not been updated for over a year now, does anyone knows if it's compatible with Debian 11 and the latest version of PHP?

I currently run a syspass server under a Debian 9 but i'd like to update it.

When i proceed to update it, the app doesnt work anymore. Anyone encountered this issue ? Thanks for your answer.

yaniska22 avatar Jun 08 '23 08:06 yaniska22

I can't tell your for sure but from what I've seen from our developers on another project there were some heavy changes from PHP 7.4 to 8.1 so I wouldn't bet on it working.

We're currently running it on Ubuntu 22.04 with PHP 7.4 installed from the PPA: https://launchpad.net/~ondrej/+archive/ubuntu/php

We tried to run it with the container first because of the constraint to 7.4 but ran into some issues. https://github.com/nuxsmin/docker-syspass/issues/62

Nebucatnetzer avatar Jun 16 '23 06:06 Nebucatnetzer

Hello,

Many thanks for your answer.

I ended up trying to install it before your reply but it didnt work out that well. I had a clear message saying that php 8 was not supported.

Do you know if they plan to support it ?

Im mostly concerned about security risks.

Dearly, Yanis Kaced ------- Original Message ------- Le vendredi 16 juin 2023 à 08:55, Andreas Zweili @.***> a écrit :

I can't tell your for sure but from what I've seen from our developers on another project there were some heavy changes from PHP 7.4 to 8.1 so I wouldn't bet on it working.

We're currently running it on Ubuntu 22.04 with PHP 7.4 installed from the PPA: https://launchpad.net/~ondrej/+archive/ubuntu/php

We tried to run it with the container first because of the constraint to 7.4 but ran into some issues. nuxsmin/docker-syspass#62

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

yaniska22 avatar Jun 16 '23 07:06 yaniska22

I've only seen that he is working on a refactor in another branch so I think he plans to support it at some point.

I agree that it isn't ideal to be running on an old PHP version.

Nebucatnetzer avatar Jun 20 '23 09:06 Nebucatnetzer

Hello,

on my Testmachine (Ubuntu 22.04 with PHP 8.1.2) in run...

But to get it up to run, I had to adapt the lib/SP/Util/Checks.php file and change the checkPhpVersion() method,

I had added an account in Syspass without a problem.

haderlump22 avatar Sep 09 '23 19:09 haderlump22

@haderlump22 What about long term use? Have you noticed any problems or unexpected behavior with this workaround?

Feurrado avatar Jan 16 '24 21:01 Feurrado