报错:
“Libsodium is not available. You should either install the sodium extension, upgrade to PHP 7.2+ or use a different encoder.”
原因:
报错说让把php根系到7.2以上,但我のphp已经是7.2.26,所以推测为sodium加密库の兼容问题
解决:
algorithm: sodium 改为 algorithm: sha256 或者其他
“Libsodium is not available. You should either install the sodium extension, upgrade to PHP 7.2+ or use a different encoder.”
报错说让把php根系到7.2以上,但我のphp已经是7.2.26,所以推测为sodium加密库の兼容问题
algorithm: sodium 改为 algorithm: sha256 或者其他