«

Jul
09
2011

WordPress 3.2, CentOS 5, PHP 5.2, & eAccelerator. What a mouthful.

I wanted to update WordPress to 3.2 but hit a snag. Unfortunately 3.2 requires an update to PHP 5.2 which isn’t in stock CentOS. So I followed the instructions here to update to PHP 5.2 using the CentOS Testing repos. However I use eAccelerator which was built for 5.1 so before I could update the PHP packages I had to remove the eAccelerator RPM so I could update the PHP packages without breaking things:

sudo rpm -e php-eaccelerator

Then updating the PHP packages worked fine. But I was without eAccelerator. A kind soul had created packages for 5.2 on x86_64 but I need i386 packages. Thankfully the src RPMs were also posted. So a few minutes later I had my i386 RPM. If you are in need of the eAccelerator packages for PHP 5.2 on i386 here it is. Install it like so:

sudo rpm -ivh php-eaccelerator-5.2.10_0.9.6.1-1.i386.rpm

Everything appears to be back to normal. Performance tidbit – page generation time is 37% faster with eAccelerator.