I noticed that Moodle 3.11 requires “sodium.”
I had success installing sodium on my VPS, but it was a strange installation. Sodium seems to be a PHP extension, yet I could not install it like other extensions. It appears to involve PECL, which other PHP extensions do not need. I had to install it by issuing commands in terminal. And even after I had success, it doesn’t show anywhere in php.ini. php.info does show it, however.
I checked the Moodle docs for sodium, and information about it does not exist.
Could someone explain sodium? I guess that sodium might be troublesome to installations of Moodle. It probably needs some information in the Moodle docs, too.
As a side note, sodium already existed in my MAMP 6.3, so my installation of an experimental Moodle 3.11 went fine.