Welcome! Log In Create A New Profile

Advanced

[PHP] ZendOptimizer + APC

Posted by Jochem Maas 
Jochem Maas
[PHP] ZendOptimizer + APC
October 21, 2008 06:40PM
anyone know whether running ZendOptimizer + APC simultaneously still causes allsorts
of problems ... I know it did in the past but I can't find any very recent stuff about the
issues online.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Nathan Nobbe
Re: [PHP] ZendOptimizer + APC
October 22, 2008 05:10AM
On Tue, Oct 21, 2008 at 10:35 AM, Jochem Maas <[email protected]> wrote:

> anyone know whether running ZendOptimizer + APC simultaneously still causes
> allsorts
> of problems ... I know it did in the past but I can't find any very recent
> stuff about the
> issues online.


never tried it, but 2 small things worth a mention;

1. supposedly eacellerator has some sort of optimizer
2. apc is getting optimization support, but im not sure when it will usable

-nathan
Sancar Saran
Re: [PHP] ZendOptimizer + APC
October 22, 2008 10:10AM
On Tuesday 21 October 2008 19:35:53 Jochem Maas wrote:
> anyone know whether running ZendOptimizer + APC simultaneously still causes
> allsorts of problems ... I know it did in the past but I can't find any
> very recent stuff about the issues online.

You have to buy Zend Performance platform. Thats why ZendOptimizer + APC
doesn't work together.

Regards

Sancar

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jochem Maas
Re: [PHP] ZendOptimizer + APC
October 22, 2008 10:15AM
Sancar Saran schreef:
> On Tuesday 21 October 2008 19:35:53 Jochem Maas wrote:
>> anyone know whether running ZendOptimizer + APC simultaneously still causes
>> allsorts of problems ... I know it did in the past but I can't find any
>> very recent stuff about the issues online.
>
> You have to buy Zend Performance platform. Thats why ZendOptimizer + APC
> doesn't work together.

no ZendOtimizer is free to run on it's own (so one can run ZendEncoded files),
besides I don't seen why ZendPlatform precludes using APC perse ... APC is just
another extension (which will be part of php6 as standard, so Zend will have to fix the
issue at some stage).

>
> Regards
>
> Sancar
>


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jochem Maas
Re: [PHP] ZendOptimizer + APC
October 22, 2008 10:15AM
Nathan Nobbe schreef:
> On Tue, Oct 21, 2008 at 10:35 AM, Jochem Maas <[email protected]
> <mailto:[email protected]>> wrote:
>
> anyone know whether running ZendOptimizer + APC simultaneously still
> causes allsorts
> of problems ... I know it did in the past but I can't find any very
> recent stuff about the
> issues online.
>
>
> never tried it, but 2 small things worth a mention;
>
> 1. supposedly eacellerator has some sort of optimizer
> 2. apc is getting optimization support, but im not sure when it will usable

I'm not actually interested in the optimization, I have a situation where I
have to roll out an app that uses APC onto a server that has ZendOptimizer
installed (for a different reason, seperate from the app I need to roll out)

ZendOptimizer didn't work in conjunction with APC in the past ... all posts
I find on the subject suggest problems but everything I find is not incredibly
recent.

I guess I'll just have to move ahead with setting up the app on the server
and see how much it blows up and/or coredumps. :-)

> -nathan
>


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Nathan Nobbe
Re: [PHP] ZendOptimizer + APC
October 22, 2008 06:30PM
On Wed, Oct 22, 2008 at 2:13 AM, Jochem Maas <[email protected]> wrote:

> Nathan Nobbe schreef:
> > On Tue, Oct 21, 2008 at 10:35 AM, Jochem Maas <[email protected]
> > <mailto:[email protected]>> wrote:
> >
> > anyone know whether running ZendOptimizer + APC simultaneously still
> > causes allsorts
> > of problems ... I know it did in the past but I can't find any very
> > recent stuff about the
> > issues online.
> >
> >
> > never tried it, but 2 small things worth a mention;
> >
> > 1. supposedly eacellerator has some sort of optimizer
> > 2. apc is getting optimization support, but im not sure when it will
> usable
>
> I'm not actually interested in the optimization, I have a situation where I
> have to roll out an app that uses APC onto a server that has ZendOptimizer
> installed (for a different reason, seperate from the app I need to roll
> out)
>
> ZendOptimizer didn't work in conjunction with APC in the past ... all posts
> I find on the subject suggest problems but everything I find is not
> incredibly
> recent.
>
> I guess I'll just have to move ahead with setting up the app on the server
> and see how much it blows up and/or coredumps. :-)


cant recall (& too lazy to research), but can zend optimizer be disabled in
..htaccess ? perhaps worth a look..

-nathan
Martin Zvar
[PHP] Re: ZendOptimizer + APC
October 23, 2008 12:45AM
Jochem Maas napsal(a):
> anyone know whether running ZendOptimizer + APC simultaneously still causes allsorts
> of problems ... I know it did in the past but I can't find any very recent stuff about the
> issues online.

I believe you should look up eAccelerator or XCache, which should work
with ZendOptimizer.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Nathan Nobbe
Re: [PHP] Re: ZendOptimizer + APC
October 23, 2008 12:50AM
On Wed, Oct 22, 2008 at 4:39 PM, Martin Zvarík <[email protected]> wrote:

> Jochem Maas napsal(a):
>
>> anyone know whether running ZendOptimizer + APC simultaneously still
>> causes allsorts
>> of problems ... I know it did in the past but I can't find any very recent
>> stuff about the
>> issues online.
>>
>
> I believe you should look up eAccelerator or XCache, which should work with
> ZendOptimizer.


as Jocheem said before the app is bound to apc; depends on the
implementation whether it could be ported to another solution.

-nathan
Nathan Nobbe
Re: [PHP] ZendOptimizer + APC
October 23, 2008 05:05AM
On Wed, Oct 22, 2008 at 10:26 AM, Nathan Nobbe <[email protected]>wrote:

>
> cant recall (& too lazy to research), but can zend optimizer be disabled in
> .htaccess ? perhaps worth a look..
>

sounds like its a server wide thing only =/,

http://www.scribd.com/doc/2160145/Zend-Optimizer-User-Guide

i wonder how hard it would be to add .htacess hooks..? too bad its
proprietary :(

-nathan
Jochem Maas
Re: [PHP] Re: ZendOptimizer + APC
October 23, 2008 01:45PM
Nathan Nobbe schreef:
> On Wed, Oct 22, 2008 at 4:39 PM, Martin Zvarík <[email protected]> wrote:
>
>> Jochem Maas napsal(a):

napsal(a) ... that's even weirder than my 'schreef' :-)

>>> anyone know whether running ZendOptimizer + APC simultaneously still
>>> causes allsorts
>>> of problems ... I know it did in the past but I can't find any very recent
>>> stuff about the
>>> issues online.
>>>
>> I believe you should look up eAccelerator or XCache, which should work with
>> ZendOptimizer.
>
>
> as Jocheem said before the app is bound to apc; depends on the
> implementation whether it could be ported to another solution.

technically I can remove/replace APC - but time and desire say otherwise.

the joke is that the server in question will only be running my app ... with
the expection of a generic controlpanel thang for server management ...
which requires ZendOptimizer ... and the sysadmin doesn't want to turn off
ZendOptimizer because then the controlpanel app won't work
(the server only exists to run the app/site/foo I wrote for a given client,
but obviously I'll have to 'fix' my stuff so that the controlpanel can
continue to run)

just another wtf. regardless, thanks to those that responded.



>
> -nathan


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
steve
Re: [PHP] Re: ZendOptimizer + APC
October 24, 2008 08:25AM
Run APC on the main site. Create a separate instance of apache running
on another port and have it use the ZendOptimizer, and have the admin
stuff there.

Also, have you tried changing the options for the zend thing to not
actually optimize? It only has positive effects if you are also using
their opcode cache. They moved the optimizer part into their decoder
so they could name it that for a typical bait and switch job on
unsuspecting webmasters. Bleh...


On Thu, Oct 23, 2008 at 4:44 AM, Jochem Maas <[email protected]> wrote:
> Nathan Nobbe schreef:
>> On Wed, Oct 22, 2008 at 4:39 PM, Martin Zvar
Jochem Maas
Re: [PHP] Re: ZendOptimizer + APC
October 24, 2008 06:30PM
steve schreef:
> Run APC on the main site. Create a separate instance of apache running
> on another port and have it use the ZendOptimizer, and have the admin
> stuff there.
>

I did one better .. I got the go ahead to just remove ZendOptimizer :-)

it's better in that it's less work for me ;-)

> Also, have you tried changing the options for the zend thing to not
> actually optimize? It only has positive effects if you are also using
> their opcode cache. They moved the optimizer part into their decoder
> so they could name it that for a typical bait and switch job on
> unsuspecting webmasters. Bleh...

ah ... hmm. well ... yes. :-/

thanks for the info.

> On Thu, Oct 23, 2008 at 4:44 AM, Jochem Maas <[email protected]> wrote:
>> Nathan Nobbe schreef:
>>> On Wed, Oct 22, 2008 at 4:39 PM, Martin Zvar
Sorry, only registered users may post in this forum.

Click here to login