Lebowtech Blog

Osx Security Update 2009 005 Breaks Php

| Comments

OSX Security Update 2009-005 Upgrades to PHP 5.2.10 and wrecks havoc on a custom compile..

This morning when trying to work I started getting strange empty pages, I broke my head on this problem before and solved it by recompling PHP.

It turns out that Apple Security Update 2009-005 also upgrades to php 5.2.10, this would be a good thing for most normal users, but since I had a custom compile of PHP it killed my sites.

From Apple’s site:

CVE-ID: CVE-2009-1271, CVE-2009-1272, CVE-2009-0590, CVE-2009-0591, CVE-2009-0789, CVE-2008-5498

Available for: Mac OS X v10.5, Mac OS X Server v10.5.8

Impact: Multiple vulnerabilities in PHP 5.2.8

Description: PHP is updated to version 5.2.10 to address multiple vulnerabilities, the most serious of which may lead to arbitrary code execution. Further information is available via the PHP website at http://www.php.net/ These issues do not affect Mac OS X v10.6 systems.

The solution is to recompile php again with my custom configuration, lucky for me my old comple was still sitting in my downloads folder , so I just had to do a:

sudo make install 

now everything seems to be back to normal.