|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-06-27 22:21 UTC] yohgaki@php.net
-Status: Open
+Status: Feedback
[2013-06-27 22:21 UTC] yohgaki@php.net
[2013-10-15 11:54 UTC] pecl-dev at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 19:00:01 2025 UTC |
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.