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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T15:23:52+00:00 2026-05-20T15:23:52+00:00

I was surfing on the net to see how to boost my php applications

  • 0

I was surfing on the net to see how to boost my php applications speed when I found out about APC. The informations I found are quite confusing because in some case it says that it will pre-compile the php code and cache. And some other website show some code to cache variables.

My first question is : Does APC pre-compile the code or you use it to cache data like memcache?

My second question is : If APC really do pre-compile the code, is it better to use it with memcache or not?

PS : if you have more informations on how to boost php applications, I will be please to receive your advice.

  • 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-20T15:23:52+00:00Added an answer on May 20, 2026 at 3:23 pm

    You can and should use both.

    APC will compile your PHP into opcodes and cache these opcodes on the webserver. So each subsequent time a php script is called it isn’t parsed and compiled. Turning on APC can give you significant speed improvements.

    Memcache acts as a in-memory hashtable for application data (not opcode cache) that lasts between PHP script calls. It’s strength is that it can be easily distributed. Most people use it to take off load from their database.

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

Sidebar

Related Questions

I'm quite a newbie with Boost, and my only experience of surfing though a
I found out, while shoulder surfing some other - much more experienced programmers -
surfing on the web, reading about django dev best practices points to use pickled
We're seeing an odd pattern in our QA Lab. We have two ASP.NET applications,
while surfing through the web and through stackoverflow.com i found many posts in forums,
I am always sitting on my couch watching tv and surfing the net and
Surfing the net I ran into Aquabrowser (no need to click, I'll post a
I was surfing the net looking for a nice effect for turning pages on
How do I configure Apache to prevent my users from explicitly surfing to http://myurl/somepath/index.php
Surfing on the source code of Java, I found the following declaration: public abstract

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.