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 7652443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T11:46:14+00:00 2026-05-31T11:46:14+00:00

Possible Duplicate: How do I upgrade APC on Zend Community Server (needed for Symfony2)?

  • 0

Possible Duplicate:
How do I upgrade APC on Zend Community Server (needed for Symfony2)?

I’m trying to set up a new Symfony 2 Standard Application and it keeps telling me that I need to upgrade my php APC extension.

The thing is, on my Zend Server runnning OSX, I already have the newest version of APC, 3.1.9.

I tested on Ubuntu with the same environment, Zend Server and that same version of APC, and it works fine, so the problem is really on OSX.

Apparently, on OSX the APC extension is built-in Zend Server, while on ubuntu it is not.

Does anyone have any idea on how to fix that problem?

  • 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. Editorial Team
    Editorial Team
    2026-05-31T11:46:16+00:00Added an answer on May 31, 2026 at 11:46 am

    The second answer here suggests it is as simple as disabling/re-enabling APC.

    However, there is an open Symfony issue (#227) here.

    I would suggest installing the APC extension separately and try to disable the built-in Zend Server version. If I remember correctly, the order of how extra extensions are loaded in Zend Server’s php.ini matters.

    If you’re using Homebrew, install APC with this formula and follow the instructions on the installer (enable with extension not zend_extension). You can try it without disabling the built-in APC, but to avoid conflicts I would disable it.


    Update #1: A couple more things to try:

    • Ensure Zend Optimizer+ is disabled.
    • Disable Zend Server’s "APC Compatibility Mode"
    • zend_optimizer.optimization_level = 0

    Update #2: Since you need a 32-bit version of APC, try this:

    cd /usr/local/src
    pecl download apc
    tar -zxvf APC-*.tgz
    cd APC-*
    phpize
    ./configure MACOSX_DEPLOYMENT_TARGET=10.6 CFLAGS="-arch i386 -g -Os -pipe -no-cpp-precomp" CCFLAGS="-arch i386 -g -Os -pipe" CXXFLAGS="-arch i386 -g -Os -pipe" LDFLAGS="-arch i386 -bind_at_load" --enable-apc-debug=no --enable-apc-filehits=no --enable-apc-spinlocks=no --enable-apc-memprotect=no --enable-apc-pthreadmutex=yes --enable-apc-pthreadrwlocks=no
    make
    make install
    

    After finished, try that one on Zend Server.


    Update #3: Check out this article by Ralph Schindler on "Compiling Gearman (or anything) for Zend Server CE on Snow Leopard". And here is one more. Perhaps there is something different in the ‘./configure’ commands from those articles that will work for you.

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

Sidebar

Related Questions

Possible Duplicate: New Cool Features of C# 4.0 Hello, There are several(many) questions at
Possible Duplicate: How do I shutdown JBoss AS 7 server? I installed jboss-7.1.0 and
Possible Duplicate: Opening url in new tab while i am doing window.open(), my page
Possible Duplicate: how to delete a file? My application first reads the fields in
Possible Duplicate: how to use foursquare API in android application? This is a question
Possible Duplicate: What will be the new features available in ASP.Net 4.0? What all
Possible Duplicate: XPath: How to match attributes that contain a certain string I'm trying
Possible Duplicate: Why should I upgrade to c# 4.0? Our projects are currently all
Possible Duplicate: Yield In VB.NET In C#, when writing a function that returns an
Possible Duplicate: Best way to stop SQL Injection in PHP I am creating a

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.