Skip to main content


are there "best practice" PHP Versions?


I have friendica running with php8.0, I have found that the worker seems to work fine on 8.1, but the main code doesn't.
@Nanook Yes you are right. For example: guzzlehttp/guzzle v6 is for php >=5.5,<8.0 If you have PHP 8.2.7 it could work, but there are tons of "PHP Deprecated"-notices in your php-error.log
Same with JSON-LD API and others. I think 8.0 is a good choice, too.
I hope the majority will use 8.1 soon. I see some error messages (using 8.1.23) and hope that will improve then..
@xy.. Well that's kind of a chicken and egg situation, I'm not going to change until it's stable under 8.1, and if others are in the same boat then it's not likely to get stable under 8.1. Personally, one thing that really irks me is that interpretive languages like PHP, Perl, Python, etc, tend to drop support for about 30% of their syntax every year, while compiled languages like C,C++, tend to add new syntax but seem much more inclined to continue to support older syntax as well.
@xy..
@Nanook .. okay.. I am the only user on my node, so maybe it is less critical... + I do not know if Alpine Linux offers me php 8.0 ... looks as if I can choose between 8.1 and 8.2
What form of repository does alpine use?

@Nanook

What form of repository does alpine use?


Not sure what a form of repository means. They have "edge" and also versions

For example, Debian and derivatives use .deb, Redhat and derivatives use .rpm, Arch and derivatives use what are essentially .tar packages, etc.
@Nanook I do not know .. to be honest