Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #8372
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | "M. Strobel" <sorry_no_mail_here@nowhere.dee> |
| Newsgroups | comp.lang.php |
| Subject | Re: APC to cache application in full? |
| Date | Thu, 14 Feb 2013 16:34:16 +0100 |
| Lines | 23 |
| Message-ID | <ao4efpFhhc5U1@mid.uni-berlin.de> (permalink) |
| References | <1d6a1ee0-97e1-433a-939e-54eeb53b2fe4@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 7bit |
| X-Trace | news.uni-berlin.de yGEGjlsv99YAZFSALuoGIgNu90JGbsnaduD9j7d7RQXi/oPwrJcQNnfxvqnDp3nHw= |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130105 Thunderbird/17.0.2 |
| In-Reply-To | <1d6a1ee0-97e1-433a-939e-54eeb53b2fe4@googlegroups.com> |
| Xref | csiph.com comp.lang.php:8372 |
Show key headers only | View raw
Am 14.02.2013 11:30, schrieb Viktor Vad: > I would have the following question: > > Is the most recent APC capable to be told to cache the whole application's code upon start of the application? I am not fully aware of the mechanics of APC yet and I wish to find a -if any- way to load generate the full opcode cache of my app and keep it there until, let's say server restart. > > I search for a behavior similar to running Rails on Passanger, where the full code is cached upon starting up the server. Is it possible in PHP? > Install it, and call apc.php, it will show you. From the docs: Once the server is running, the apc.php script that is bundled with the extension should be copied somewhere into the docroot and viewed with a browser as it provides a detailed analysis of the internal workings of APC. If GD is enabled in PHP, it will even display some interesting graphs. The first thing to ensure, of course, is that it is actually caching files. If APC is working, the Cache full count number (on the left) will display the number of times the cache has reached maximum capacity and has had to fo............ Did you want to ask what are the experiences with apc? I have none, I stay away from such complications if at all possible. /Str.
Back to comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll thread
APC to cache application in full? Viktor Vad <vad.viktor@gmail.com> - 2013-02-14 02:30 -0800 Re: APC to cache application in full? Arno Welzel <usenet@arnowelzel.de> - 2013-02-14 14:51 +0100 Re: APC to cache application in full? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2013-02-14 16:34 +0100
csiph-web