Hi,
To disable suhosin for single domain:-
1). Login in server as root
2). copy main php.ini in users document root. So firstly find your PHP loaded configuration path by running
# php -i | grep php.ini
Loaded Configuration File => /usr/local/lib/php.ini
#
cp /usr/local/lib/php.ini /home/username/public_html3). Make the changes in the php configuration file and save the file.
# cd /home/username/public_html
vi php.ini
[suhosin]
; Misc Options
suhosin.simulation = On [On is for disable suhosin and off means enabled]
4). To disable suhosin using
.htaccess file.
Create .htaccess file under /home/username/public_html and add this line:
php_flag suhosin.simulation On
If server is suphp enabled, add the following code in .htaccess
<files “.ht*”>
deny from all
</files>
suPHP_ConfigPath /home/username
Then Save the file and exit. After that restart apache and suhosin will be disabled for this account.