internals:windows:todocumentdev

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
internals:windows:todocumentdev [2012/03/14 18:57] – created abinternals:windows:todocumentdev [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 57: Line 57:
   * make   * make
   * make install   * make install
 +
 +# this way we can quickly switch to test with different php versions
  
 == Debugging APC == == Debugging APC ==
  
 +# running tests
 +  * make test TESTS=-m
 +# testing a simple php script
 +  * ZEND_DONT_UNLOAD_MODULES=1 valgrind --leak-check=full ~/dws/root/php-5.4-nts/bin/php -n -d extension_dir=.libs/ -d extension=apc.so -d apc.enable_cli=1 -d apc.stat=0 mytest.php
 +# using gdb
 +  * ZEND_DONT_UNLOAD_MODULES=1 gdb --args ~/dws/root/php-5.4-nts/bin/php -n -d extension_dir=.libs/ -d extension=apc.so -d apc.enable_cli=1 -d apc.stat=0 -d apc.file_md5 test.php
  
 +=== Windows ===
  
 +== Preparing the workspace ==
 +  * prepare the build environment https://wiki.php.net/internals/windows/stepbystepbuild
 +== Building APC ==
 += without debug =
 +  * download a development pack from http://windows.php.net/downloads/releases/ , for instance php-devel-pack-5.4.0-Win32-VC9-x86.zip
 +  * unpack to c:\php-devel-pack-5.4.0-Win32-VC9-x86
 +  * checkout APC to c:\apc_trunk
 +  * start windows sdk shell
 +  * cd c:\php-sdk
 +  * setenv /debug /xp /x86
 +  * bin\phpsdk_setvars.bat
 +  * cd C:\apc_trunk
 +  * c:\php-5.4.0-devel-VC9-x86\phpize.bat
 +  * configure --enable-apc --enable-apc-srwlock-native
 +  * nmake
 += with debug =
 +  * TODO
 +== Debugging APC ==
 += without debug =
 +  * nmake test
 += with debug =
 +  * TODO
internals/windows/todocumentdev.1331751470.txt.gz · Last modified: 2017/09/22 13:28 (external edit)