Re: Running more PHP-versions with php_opcache.dll
| From: | Jan Ehrhardt | Date: | Tue, 09 Jul 2013 14:23:12 +0000 |
| Subject: | Re: Running more PHP-versions with php_opcache.dll | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-31035@lists.php.net to get a copy of this message | ||
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.
Jan