Just to be clear, this does not occur with:

wincache.enablecli=1 & opcache.enable_cli=0

It's only with:

wincache.enablecli=1 & opcache.enable_cli=1

You are correct, I am only using the ucache of wincache now that opcache is 
available (and am currently testing MongoDB as a replacement for Wincache 
ucache, but we're a ways out from even determining if we can make that work.)

This PHPUnit we run test validates that wincache ucache is working and it does 
not if wincache.enablecli=0

<?php
class WincacheTest extends PHPUnit_Framework_TestCase{

        public function test_UcacheGet(){

                $sWinCacheKey = __METHOD__;
                $sSetValue    = "TESTVALUE".time();

                wincache_ucache_set($sWinCacheKey, $sSetValue, 5);

                $sTest = wincache_ucache_get($sWinCacheKey);

                $this->assertTrue($sTest === $sSetValue);

        }

}

Keith Davis - (214) 906-5183


-----Original Message-----
From: Jan Ehrhardt [mailto:php...@ehrhardt.nl]
Sent: Tuesday, July 23, 2013 4:01 AM
To: php-windows@lists.php.net
Subject: Re: [PHP-WIN] Re: CLI Crash Bug

Keith Davis in php.windows (Mon, 22 Jul 2013 12:49:59 -0500):
>Ahhhh, geez. It looks like it's caused by Wincache. I disable and
>enable that extension and the crashing stops and starts.
>
>However, again, I've tested Wincache thoroughly with Opcache in IIS and
>have no issues. It's only on the command line.

If I remember correctly, you are only using the ucache of php_wincache.
Did you try wincache.enablecli=0?

Then the user cache still seems to be working and php phpinfo.php or smething 
like that does not crash anymore.

Jan

--
PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: 
http://www.php.net/unsub.php



This message (including any attachments) may contain confidential or otherwise 
privileged information and is intended only for the individual(s) to which it 
is addressed. If you are not the named addressee you should not disseminate, 
distribute or copy this e-mail. Please notify the sender immediately by e-mail 
if you have received this e-mail by mistake and delete this e-mail from your 
system. E-mail transmission cannot be guaranteed to be secured or error-free as 
information could be intercepted, corrupted, lost, destroyed, arrive late or 
incomplete, or contain viruses. The sender therefore does not accept liability 
for any errors or omissions in the contents of this message or that arise as a 
result of e-mail transmission. If verification is required please request a 
hard-copy version from the sender.

www.pridedallas.com


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to