Comment 7 for bug 315507

Revision history for this message
Diego Malatesta (diego-malatesta) wrote : Re: Unable to remove Suhosin patch

I have the same problem as the other guys.

And doing:

> # echo "suhosin.simulation = on" >> /etc/php5/conf.d/suhosin.ini
>
> Restarting the webserver and you will be fine.

does not solve the problem. phpinfo() shows the flag as on, but the php scripts which cause the error still stop being executed and are offered for download.

*In my opinion* you shouldn't provide a package with a patch that is known to break code (even if intentionally) without providing an alternative one, say something like php5-no-suhosin, or a way to disable the patch without recompiling the whole package.