Tangential Topic: MacPorts PHP code broken by OS X update?

Bradley Giesbrecht brad at pixilla.com
Tue Aug 17 09:59:30 PDT 2010


On Aug 17, 2010, at 9:54 AM, John Korchok wrote:

> I am unable to find a forum that can answer this question, please  
> let me know where I might find an answer.
>
> I am using MacPorts PHP 5.3 on Leopard. I have lots of code that was  
> working perfectly fine until I applied the 2010-004 security update  
> (among others) this past weekend. Now I am getting:
>
> "Fatal error: Cannot redeclare class EmployeeTable in /Library/ 
> WebServer/Documents/profile/EmployeeTable.php on line 4"

Considering your dir "/Library/WebServer/Documents" I'll guess you are  
using Apples apache and Apple probably replaced your httpd.conf and  
you lost your MacPorts php5_module.

// Brad



More information about the macports-users mailing list