libsodium WAS working fine but now I managed to break it and can't find how to unbreak it.
Amazon AWS Ubuntu Xenial, libsodium18 installed, php-sodium from Ondrej Sury PPA installed but instead of working I now get:
Undefined constant 'Sodium\CRYPTO_SECRETBOX_NONCEBYTES'
The annoying thing is it's fine in Zesty but there's no stable AWS Zesty image still. I'm sure I've just forgotten some simple thing but it's just ceased working.