Re: APC opcode cache behavior
| From: | Marco Behnke | Date: | Thu, 14 Feb 2013 19:32:26 +0000 |
| Subject: | Re: APC opcode cache behavior | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-320216@lists.php.net to get a copy of this message | ||
Am 14.02.13 16:05, schrieb Camilo Sperberg:
>
> You can also write a little script that clears the APC cache, something in the line of:
>
> #!/usr/bin/php
> <?php
> apc_clear_cache();
>
> And execute this script each time you deploy. (can also be a command such as php -r
> "apc_clear_cache();"). This way you'll avoid restarting the webserver and it will
> clear all APC cache forcing APC to cache everything again.
since apache and cli do not share the same apc, it will not work.
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3
Tel.: 0174 / 9722336
e-Mail: marco@behnke.biz
Softwaretechnik Behnke
Heinrich-Heine-Str. 7D
21218 Seevetal
http://www.behnke.biz
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc