Re: Re: Running more PHP-versions with php_opcache.dll

Pierre Joye <[email protected]>
Newsgroups gmane.comp.php.windows
Message-ID <CAEZPtU5AdsDk98XD-MiC8yCw51yO+LX=j=boySXADLiCG7e0FQ@mail.gmail.com>
On Tue, Jul 9, 2013 at 4:23 PM, Jan Ehrhardt <[email protected]> wrote:
> Jan Ehrhardt in php.windows (Sun, 07 Jul 2013 22:41:12 +0200):
>>I am having troubles configuring multiple PHP-versions, all running
>>under Apache 2.4.4 with their own OPcache. My feeling at the moment is
>>that under Windows you can only have one PHP instance with OPcache, but
>>I would love to be contradicted.
>>
>>See this issue at github for details:
>>https://github.com/zendtech/ZendOptimizerPlus/issues/109
>>
>>Did anyone succeed in running, for instance, PHP 5.3 with an OPcache and
>>PHP 5.5 with OPcache?
>
> Hopping back and forth between this list and github. I seem to have a
> really ugly workaround now. I recompiled the x64 php_opcache.dll after
> changing the semaphore file from ZendOPcache.MemoryBase into
> ZendOPcache64.MemoryBase. That way it looks like it is possible to run a
> x64 PHP 5.5 and a x86 PHP 5.3 besides each other, both with OPcaches.
> read further on

> https://github.com/zendtech/ZendOptimizerPlus/issues/109#issuecomment-20572357

> At the moment I am testing this with my builds, but I will change it
> into the official php.net shortly, because the PGO builds are about 10%
> faster than my own.

You should use two php.ini instead. Or do you already use two inis?

--
Pierre

@pierrejoye | http://www.libgd.org

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.