How to Install iotop in Linux
If you manage a Linux server and notice slow performance, high disk usage, or unexplained…
PHP Warning: PHP Startup: Suhosin Extension does not officially support PHP 5.2 and below anymore, because it is discontinued. Use it at your own risk. in Unknown on line 0
Often when your cloud solutions provider upgrades the PHP version on the server you will notice this type of error in your “error logs” file. It is one of the errors that usually occur on WordPress-based sites, however, it doesn’t relate to the WordPress files.
There are several scripts that don’t support the upgraded version of PHP. In this case, the error shows that the “Suhosin Extension does not support PHP 5.2 version”. Now, what to do? You don’t need to worry. You have come to the right place for the solution. Simply follow the steps given below to fix this error.
How to fix the “Suhosin Extension does not support“ error?
The above error fixed either by downgrading the Suhosin version or by disabling the suhosin function in php.ini file. Here, in this blog post, we are disabling the suhosin function to fix the above error. The following steps are applicable only to those users who have root access to the server or full access to the php.ini file. If you are on a shared server, you can request your web hosting provider to fix this issue for your domain.
How to Disable the Suhosin Function for a particular domain via SSH?
# php -i | grep php.ini
It will output the following:
Configuration File (php.ini) Path => /usr/local/lib
Loaded Configuration File => /usr/local/lib/php.ini
# cp /usr/local/lib/php.ini /home/username/public_html# cd /home/username/public_html
# vi php.ini
extension=”suhosin.so”
;extension=”suhosin.so”
:wq
That’s it! You’re done.
Explore more hosting insights, tips and industry updates.
If you manage a Linux server and notice slow performance, high disk usage, or unexplained…
In this article, we will demonstrate how to do a ping test in Windows. In…
When a site displays an HTTP 499 error, it indicates that the client terminated the…