Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 53029
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T16:59:58+00:00 2026-05-10T16:59:58+00:00

I decided to install APC to speed up the site that I work for.

  • 0

I decided to install APC to speed up the site that I work for. Sadly, I found out that it was already installed and enabled(The developer who first worked on the servers has moved on).

Then I decided to check the usage of it to see if it needs more memory allocated to it or not. This is when I discovered something weird. A simple file with this code:

<?php     print_r(apc_cache_info()); ?> 

It would not work when served from apache. I get Error 320 (net::ERR_INVALID_RESPONSE): Unknown error. And there is nothing in the error log. From the cli on the server, it works fine. But it only says that my check_apc.php file is cached(name of the script that I was running).

So it looks like APC has not fully/correctly been set up. Any one know what the problem could be?

Contents of /etc/php.d/apc.ini:

; Enable apc extension module extension = apc.so ; Options for the apc module apc.enabled=1 apc.shm_segments=1 apc.optimization=0 apc.shm_size=32 apc.ttl=7200 apc.user_ttl=7200 apc.num_files_hint=1024 apc.mmap_file_mask=/tmp/apc.XXXXXX apc.enable_cli=1 apc.cache_by_default=1 

The server is running CentOS

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T16:59:58+00:00Added an answer on May 10, 2026 at 4:59 pm

    Has anyone upgraded the version of php on the server since apc.so was created? It may be that apc.so was compiled against a different version of php.

    If possible, try re-compiling apc.so against the current version of php. Or if you are using a package manager, try removing the apc package entirely and reinstall it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In writing an install script, I quickly found that I'd have cross-platform issues, and
A few days ago I decided to install MongoDB but, right after I installed
I know how to use php-markdown by loading it manually, but decided to install
Yesterday, I decided to install the newest NCover version (3.4.2). However, when I ran
I'm running Ruby 1.9.1p243 on CentOS, and I decided to install rvm to handle
I've got git installed on my mac and either forgot or decided not to
So I decided that I was going to give Ruby (first 1.9.1, then 1.8.7)
I've got a fresh install of VS 2008 Standard and I've installed DevExpress DXPerience
I've decided that as a pet project meant for learning, I would create a
We are developing an application that will install on PC and it will perform

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.