Re: Running more PHP-versions with php_opcache.dll

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

 



Jan Ehrhardt in php.windows (Tue, 09 Jul 2013 07:16:49 +0200):
>opcache.mmap_base
>
>Could this be a way out? It looks like this setting overrides the
>setting in ZendOPcache.MemoryBase. What I want is that the OPcache of
>PHP 5.5 does not share the memory with PHP 5.3. Can that be reached by
>setting one mmap_base to 20000000 and the other to 30000000 (or
>something like that). If you think this is possible, what would the
>settings be for opcache.mmap_base of both PHP instances?

Out of curiosity I tried a mod_php (5.4) with opcache.mmap_base=30000000
and a mod_fcgid PHP (5.5) with opcache.mmap_base=20000000. Did not make
any difference: PHP 5.5 reported an internal server error, according to
the event log due to a faulting php_opcache.dll.

Interestingly enough: when I deleted the ZendOPcache.MemoryBase-file and
rebooted the server a new file was created with the 30000000-value I had
used in the opcache.mmap_base setting. This offers some hope.
Apparently, you can change the mmap_base. Maybe the only problem with
this scenario is that both instances of php_opcache.dll need exclusive
rights tot the ZendOPcache.MemoryBase file.

Jan

-- 
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