php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #61942 Opcode viewing of system cache entry
Submitted: 2012-05-04 19:09 UTC Modified: 2016-11-18 21:25 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: bug at s-seven dot net Assigned:
Status: Wont fix Package: APC (PECL)
PHP Version: Irrelevant OS: ALL
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bug at s-seven dot net
New email:
PHP Version: OS:

 

 [2012-05-04 19:09 UTC] bug at s-seven dot net
Description:
------------
Allow a button on the detail page of a system cache entry that invokes a 
configurable system command and display the result.  Only shows the button when 
authenticated and when the command is defined and the file exists.  Example 
configuration:

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

Patch for apc.php is attached.

Test script:
---------------
Apply the patch to apc.php and uncomment the configuration line.  The example assumes you have the VLD extension installed and working.


Patches

opcode_view_patch (last revision 2012-05-04 19:24 UTC by bug at s-seven dot net)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-11-18 21:25 UTC] kalle@php.net
-Status: Open +Status: Wont fix
 [2016-11-18 21:25 UTC] kalle@php.net
APC is no longer supported in favor of opcache that comes bundled with PHP, if you wish to use the user cache, then look at PECL/APCu.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC