Tangential Topic: MacPorts PHP code broken by OS X update?
John Korchok
jkorchok at hotmail.com
Tue Aug 17 10:45:57 PDT 2010
> -----Original Message-----
> From: Bradley Giesbrecht [mailto:brad at pixilla.com]
> Sent: Tuesday, August 17, 2010 1:00 PM
> To: jkorchok at hotmail.com
> Cc: macports-users at lists.macosforge.org
> Subject: Re: Tangential Topic: MacPorts PHP code broken by OS
> X update?
>
>
> 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
>
Hi Bradley,
Thanks, but I am using MacPorts Apache 2.2.11 with MacPorts PHP and the
correct version is still running, httpd.conf did not get overwritten. The
default Apple Apache is turned off. I am just serving the files from the
default Apple location.
John
More information about the macports-users
mailing list