Skip to main content


Hello !Friendica Support

I am currently on the development version of #Friendica and report the php bugs on github to help making #Friendica php 8.1 ready.

So for this I do:
cd /var/www&&sudo -u www-data ~/.script/friendica_git.sh&&sudo logrotate -f /etc/logrotate.d/php

Which does cd to the friendica webfolder, then runs some script to update Friendica from github and then I rotate the php log to purge all old fault messages.

Then I run this command:
sed 's/^\[[^]]*\]//g' /var/log/php/php.log | sort | uniq -c ;echo "\n\n PHP: $(php -r "echo PHP_VERSION;")"

Which then outputs a list of unique fault messages from the php log and outputs the current php version, this I can then copy to the github issue.

Nice easy.
⇧