server error Unable to load dynamic library

Hi, after upload and configure yii2 file on server, i got this error.

PHP Core Warning – yii\base\ErrorException

PHP Startup: Unable to load dynamic library ‘/usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so’ - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so: cannot open shared object file: No such file or directory

Any idea how to solve?

What version of PHP are you using?

I’m quite sure that the most recent PHP versions doesn’t support the suhosin extensions as it is no needed anymore.

I had a similar problem on my namecheap hosting after upgrade and I’ve solved it by just disable the suhosin extension in php.ini (search and comment the line ‘extension=“suhosin.so”’ or sth. similar).

Or the other option is to downgrade to the PHP version that works with the extension, but I wouldn’t recommended you do that.

Yeah disable the extension fix it, thanks.