Tuesday, 12 May 2009 20:03
The inclusion of the Suhosin patch in PHP5 completely broke many PHP apps I need. Setting it in simulation mode does NOT help either (unlike Suhosin's page tells you ), since the patch seems to cause PHP to crash with a heap error:
ALERT - canary mismatch on efree() - heap overflow detected (attacker 'YOUR LOCAL IP'), etc.
If you're getting these errors, here are the precompiled Debian 5.0 Lenny PHP5 packages without Suhosin for i386.
Install with dpkg -i *.deb and copy the included mssql.so to /usr/lib/php5/20060613+lfs. Remember to check and install dependencies with apt-get -f install, then restart Apache or whatever web server you're running and your PHP apps should work!
The packages were compiled with the help of this guide.
If you need Microsoft SQL support for PHP, here's also a precompiled freetds package.