php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | |
Patch opcode_view_patch for APC Bug #61942Patch version 2012-05-04 19:24 UTC Return to Bug #61942 | Download this patchThis patch renders other patches obsolete Obsolete patches: Patch Revisions: 2012-05-04 19:24 UTC | 2012-05-04 19:16 UTC | 2012-05-04 19:10 UTCDeveloper: bug@s-seven.netLine 1 (now 1), was 24 lines, now 16 lines diff --git a/APC-3.1.10/apc.php b/apc.php old mode 100644 new mode 100755 index adf8290..e3edc9f --- a/APC-3.1.10/apc.php new mode 100644 index adf8290..837eea2 --- a/build/APC-3.1.10/APC-3.1.10/apc.php +++ b/apc.php @@ -30,7 +30,7 @@ if (file_exists("apc.conf.php")) include("apc.conf.php"); ////////// BEGIN OF DEFAULT CONFIG AREA /////////////////////////////////////////////////////////// -defaults('USE_AUTHENTICATION',1); // Use (internal) authentication - best choice if +defaults('USE_AUTHENTICATION',0); // Use (internal) authentication - best choice if // no other authentication is av // If set to 0: // There will be no further aut @@ -51,6 +51,9 @@ defaults('GRAPH_SIZE',200); // Image size //defaults('PROXY', 'tcp://127.0.0.1:8080'); +//defaults('OPCODE_COMMAND', 'php -dvld.active=1 -dvld.execute=0 -dvld.dump_paths=0 -dvld.verbosity=0 %s 2>&1'); // %s for full path to filename +// %s for full path to filename... +//defaults('OPCODE_COMMAND', 'php -dvld.active=1 -dvld.execute=0 -dvld.dump_paths=0 -dvld.verbosity=0 %s 2>&1'); + ////////// END OF DEFAULT CONFIG AREA ///////////////////////////////////////////////////////////// + clearstatcache(); + if (file_exists($opcode_filename)) + { + echo "<hr><p><ol class=menu>"; + echo sprintf("<li><a %s href=\"{$MY_SELF}&OB={$MYREQUEST['OB']}&SH={$MYREQUEST['SH']}&OP=%d\">%s + $MYREQUEST['OP']?'class="child_active"':'', (int)!$MYREQUEST['OP'], $MYREQUEST['OP']?'Hi + echo sprintf("<li><a %s href=\"{$MY_SELF}&OB={$MYREQUEST['OB']}&SH={$MYREQUEST['SH']}&OP=%d\">%s opcode</a></li>", + $MYREQUEST['OP']?'class="child_active"':'', (int)!$MYREQUEST['OP'], $MYREQUEST['OP']?'Hide':'Show'); + echo"</ol></p><hr>"; + + if ($MYREQUEST['OP'] == 1) + { |
Copyright © 2001-2024 The PHP Group All rights reserved. |
Last updated: Sun Oct 27 15:01:28 2024 UTC |