[BlueOnyx:04803] Re: APC cache in PHP
Robert Fitzpatrick
lists at webtent.net
Wed Jun 23 10:47:29 -05 2010
On Wed, 2010-06-23 at 09:42 -0500, Chris Gebhardt - VIRTBIZ Internet
wrote:
> Robert Fitzpatrick wrote:
> > I installed the apc cache extension in PHP and the admserv started
> > giving errors when trying to view some settings and edit users...the
> > error from the adm_error log is...
> >
> > [Wed Jun 23 10:01:04 2010] [apc-error] Cannot redeclare class
> > uiextension
> >
> > I disabled the apc cache in PHP and everything works again. How could
> > one fix this so we could use this extension?
>
> You'll need to run an alternate PHP so that admserv runs one and regular
> Apache runs another. This is typically how the 3rd party vendors such
> as Solarspeed and Nuonce handle this.
>
Thanks. I had enabled APC cache by creating /etc/php.d/apc.ini. So, I
took that out and put the extension directive directly in /etc/php.ini
and that solved it since the GUI uses a different php.ini.
More information about the Blueonyx
mailing list