php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59455 PHP_apc.dll can not work with ZendDebug
Submitted: 2010-10-10 23:22 UTC Modified: 2013-10-15 11:54 UTC
From: realfreeday at 163 dot com Assigned:
Status: No Feedback Package: APC (PECL)
PHP Version: 5.2.6 OS: windows xp
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2010-10-10 23:22 UTC] realfreeday at 163 dot com
Description:
------------
How debug a php code while have apc function ?


Use ?Zend Studio" with ZendDebug .
Create a new PHPUnit ,Run as PHPUnit ,report:

---------------------------------------
Error launching 'apcTest.php(6)'

The Session could not be started.

In order to generate debug information,please make sure that the debugger is properly configured as a php.ini directive.


-----------------------------------------------

remove apc extension ,PHPunit run well.




Reproduce code:
---------------
require_once 'PHPUnit\Framework\TestCase.php';
class apcTest extends PHPUnit_Framework_TestCase {

	protected function setUp() {
		parent::setUp ();
		
		// TODO Auto-generated apcTest::setUp()
		if(function_exists('apc_fetch')==false){
			die("apc modul haven't install ");
		}
	
	}
}

Expected result:
----------------
Error launching 'apcTest.php(6)'

The Session could not be started.

In order to generate debug information,please make sure that the debugger is properly configured as a php.ini directive.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-06-27 22:21 UTC] yohgaki@php.net
-Status: Open +Status: Feedback
 [2013-06-27 22:21 UTC] yohgaki@php.net
Please try using this snapshot:

  http://snaps.php.net/php5.4-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2013-10-15 11:54 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Dec 09 02:03:35 2021 UTC