Libsodium not available?

Is libsodium not available at all? My PHP version supports libsodium, yet it doesn’t seem to be present.

What is your URL?

I doubt the sodium extension is enabled, mostly because of what it does. You can check whether its available using this small bit of PHP code:

if (extension_loaded("sodium")) {
   echo "sodium extension is loaded!";
}
1 Like

Yes, we don’t have the sodium extension enabled. We run custom PHP builds which don’t have this module enabled.

4 Likes

If I were to go to premium hosting, would I be able to use libsodium?

My own premium testing account has it, yes. Or at least, it’s available in the list of modules that can be activated.

2 Likes

Alright, thank you!

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.