PHP 5.2.1, PCRE and Suhosin
With the impending 'Month of Bugs' for PHP, and the new release of version 5.2.1 the other day it seemed as if it would be a good time to upgrade.
My initial attempts were met with failure, as I tried to upgrade an internal server at work over the weekend. Unfortunately there seems to be a bug with the bundled pcre library, which seems to manifest itself with the patch I apply to Smarty to enable proper OO method chaining... after quite a lot of head scratching, I installed pcre version 7.0, and compiled PHP against that. Problem solved.
Next off, I thought I might as well upgrade our internet facing servers, and also install Suhosin, which appears to be the successor to the Hardening Patch I've been using for some time. Thankfully this patch/upgrade caused no hassle what so ever :-)
See also here
Comments
pcre install not needed for php 5.2
Compiling against an external pcre isn't required with php 5.2.2RC2+.
Post new comment