Skip to main content


are there "best practice" PHP Versions?


in reply to …ᘛ⁐̤ᕐᐷ jesuisatire bitPickup

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.
in reply to Nanook

@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.
in reply to …ᘛ⁐̤ᕐᐷ jesuisatire bitPickup

I hope the majority will use 8.1 soon. I see some error messages (using 8.1.23) and hope that will improve then..
in reply to xy..

@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..
in reply to …ᘛ⁐̤ᕐᐷ jesuisatire bitPickup

@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
in reply to Nanook

@Nanook

What form of repository does alpine use?


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

in reply to …ᘛ⁐̤ᕐᐷ jesuisatire bitPickup

For example, Debian and derivatives use .deb, Redhat and derivatives use .rpm, Arch and derivatives use what are essentially .tar packages, etc.

Lo, thar be cookies on this site to keep track of your login. By clicking 'okay', you are CONSENTING to this.