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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T04:28:57+00:00 2026-06-02T04:28:57+00:00

I recall reading on php.net (although unfortunately can’t seem to find the page) that

  • 0

I recall reading on php.net (although unfortunately can’t seem to find the page) that the PHP interpreter can run in different ways – most commonly, every time a page is requested, an instance of the PHP interpreter is created, runs its course, and then is destroyed, along with all the memory associated with that particular page call. Apparently, it is also possible to allow all the memory to linger, so that it can be used again in future page calls; as I understood it, essentially allowing multiple different PHP scripts to access and modify the same objects, without losing them after the script is complete.

Or at least, so I remember. Is there any truth to this? If so, how would I set it up?

  • 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-06-02T04:28:58+00:00Added an answer on June 2, 2026 at 4:28 am

    php doesn’t work that way. its about run and forget.

    you can save data between requests using userland shared memory extensions, for example: apc, xcache, memcached, etc.

    or by using the session data array after calling session_start

    $_SESSION

    don’t think of php scripts like a java application in e.g. tomcat. standard php was not designed for that use case. php compiler works on-the-fly.

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

Sidebar

Related Questions

I recall reading somewhere that using references to smart pointers can cause memory corruption.
I seem to recall reading somewhere that the cost of a virtual call in
I recall reading, on multiple occasions and in multiple locations, that when firing the
I seem to recall that there is an HTML tag that escapes absolutely everything
I seem to recall reading about a way to 'reduce' the size of template
I recall reading somewhere (I forget where) that if an iPhone application simply ran
I have about 5 different heterogenous linux dedicated server which can run Java applications.
I recall hearing or reading somewhere that SELECT * from TABLE where date >=
I recall reading somewhere that in HTML5 it was no longer okay to use
I recall reading an article about constructors being evil (but can't place it). The

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.