RE: Re: CLI Crash Bug

Keith Davis <[email protected]>
Newsgroups gmane.comp.php.windows
Message-ID <8B1E9A6EEA59C44997E8475BCEF8983304BD0817@EXCHANGE01.pridedallas.com>
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:[email protected]] 
Sent: Tuesday, July 23, 2013 4:01 AM
To: [email protected]
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
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.