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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 9, 2013 at 4:23 PM, Jan Ehrhardt <phpdev@xxxxxxxxxxx> 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





[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux