Jesin's Blog

Welcome to the Portal of Technology

  • Facebook
  • GitHub
  • Google+
  • RSS
  • Twitter
  • Home
  • Categories
    • Domains
    • Linux
    • Networking
    • PHP
    • Virtualization
    • Web Design
    • Web Servers
    • Windows
  • WordPress Plugins
    • Custom Error Pages
    • HTTP Digest Authentication
    • Mailgun Email Validator
  • Toolbox
    • DNS Lookup Tool
    • htdigest Generator Tool Online
    • htpasswd Generator Tool Online
    • HTTP Headers Lookup Tool
    • MD5 Encryption Tool
    • Open Port Check Tool
    • SHA-1 Encryption Tool
    • URL Encoding/Decoding Tool
  • About Me
  • Contact Me
  • Sitemap
Home ›
PHP ›
apc.php Download

apc.php Download

March 20, 2013 PHP Jesin A Leave a Comment

php category thumbnail

PHP APC (Alternative PHP Cache) is a framework which speeds up PHP applications by storing the result of compiled PHP programs in the memory a.k.a. caching. The apc.php file is available in the APC package if downloaded as source from the APC page of the PECL website, but if you have installed it from the Linux repository by using the command yum install php-apc or apt-get install php-apc this file will not be available. I have extracted the apc.php file from the APC source downloaded from the PECL website and it is available for download here.

Download apc.php (12KB)

Extract this file and upload it to your document root, access it from your browser and you will see a page similar to the following.

apc.php page
The apc.php page displays cache statistics and many useful information

To access the “System Cache Entries” and “User Cache Entries” a password has to be set, this will be used for doing a HTTP Basic Authentication just like using a htpasswd file. Edit the following lines in the apc.php file

defaults('ADMIN_USERNAME','apc');
defaults('ADMIN_PASSWORD','password');

Editing the first line is optional but only if the string “password” is changed to something else in the second line will authentication work. Authentication can also be disabled by editing the following line.

defaults('USE_AUTHENTICATION',1);

Change the 1 to 0 and authentication will be disabled but use this with caution as it could allow unauthorized access.

Related posts:

avast redistributable thumbnailAvast Antivirus Redistributable Download Link Default ThumbnailDisabling PHP Display Errors virtualization category thumbnailDownload vmnetcfg.exe php category thumbnailHow to use custom php.ini files on shared hosting remove w3 total cache commentW3 Total Cache Remove Footer

Tags: download, php

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Get a wealth of information delivered to your inbox. Subscribe and never miss a single article.

  • Tutorials and howtos
  • Code, scripts and commands
  • Online Tools

* No spam, unsubscribe anytime

Hire Me

  • SSL installation and hardening (A+ on Qualys SSL test)
  • Apache & Nginx configuration
  • Email deliverability improvement (10/10 on Mail Tester & MailGenius)
  • WordPress customization, optimization and migration
  • and much more…

    Tools

    • DNS Lookup Tool
    • htdigest Generator Tool Online
    • htpasswd Generator Tool Online
    • HTTP Headers Lookup Tool
    • MD5 Encryption Tool
    • Open Port Check Tool
    • SHA-1 Encryption Tool
    • URL Encoding/Decoding Tool

    Nav

    • Home
    • About Me
    • Contact Me
    • Privacy Policy
    • Sitemap
    Vultr SSD VPS

    Creative Commons License
    Jesin's Blog by Jesin A is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
    Based on a work at websistent.com.