Update php version can t login

Nextcloud version (eg, 20.0.5): 23
Operating system and version (eg, Ubuntu 20.04): almalinux 8
Apache or nginx version (eg, Apache 2.4.25): apache
PHP version (eg, 7.4): 7.4

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

i have a running nextcloud installation with php 7.3.
running all fine but i change from php 7.3 to 7.4 (or 8.0)
i can’t login , nextcloud give me error login

The output of your Nextcloud log in Admin > Logging:

{"reqId":"YfjkRIHvG1e1XGhMUOl0qQAAywA","level":2,"time":"February 01, 2022 07:41:56","remoteAddr":"x.x.x.x","user":"--","app":"no app in context","method":"POST","url":"/nc/index.php/login","message":"Login failed: admin (Remote IP: x.x.x.x)","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0","version":"23.0.0.10"}
{"reqId":"YfjkRIHvG1e1XGhMUOl0qQAAywA","level":1,"time":"February 01, 2022 07:41:57","remoteAddr":"x.x.x.x","user":"--","app":"core","method":"POST","url":"/nc/index.php/login","message":"Bruteforce attempt from \"x.x.x.x\" detected for action \"login\".","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0","version":"23.0.0.10"}

The output of your Apache/nginx/system log in /var/log/____:

no error

strange is i reset php 7.3 i can login and works fine…
server is new, so i install almalinux from iso and install same module php 7.3 and 7.4

thank you