严格标准:不应静态调用非静态方法Crypt_RSA_MathLoader :: loadWrapper()

时间:2014-07-17 07:31:20

标签: php rsa pear

将php更新为5.5后,我收到此错误:

Strict Standards: Non-static method Crypt_RSA_MathLoader::loadWrapper() should not be called statically, assuming $this from incompatible context in /usr/share/php/Crypt/RSA.php on line 195 
Strict Standards: Non-static method Crypt_RSA_MathLoader::loadWrapper() should not be called statically, assuming $this from incompatible context in /usr/share/php/Crypt/RSA/MathLoader.php on line 97

我正在使用pear的Crypt_RSA。感谢。

1 个答案:

答案 0 :(得分:1)

pear的Crypt_RSA已被phpseclib的Crypt_RSA弃用:

http://pear.php.net/package/Crypt_RSA/redirected

你应该考虑更新。