RE: [PHP] PHP Cache (was PHP load to high on server)
| From: | Albert | Date: | Thu, 19 Jan 2006 06:56:19 +0000 |
| Subject: | RE: [PHP] PHP Cache (was PHP load to high on server) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-228806@lists.php.net to get a copy of this message | ||
Jochem Maas wrote:
> take note that APC does 2 things:
>
> 1. op code caching
> 2. manage some shared memory (a central place where you can stick stuff
> that needs to be read again and again and again; but doesn't need updating
> very often)
"pear install apc" failed without reason. I ended up downloading the package
and building it manually.
I opened my login page (worked fine) and then logged in only to get a
"Cannot find server". I had to restart Apache to get any other page out.
On inspection of the Apache error log I saw:
[Thu Jan 19 06:47:49 2006] [notice] child pid 16429 exit signal Segmentation
fault (11)
I have Zend Optimizer installed as well. When disabled Zend Optimizer my
server works correctly. When Zend Optimizer is enabled then I get the
segfaults.
It seems that APC and Zend Optimizer does not work together so I cannot use
APC as some of the modules we use from third party suppliers have been
encoded with Zend Safeguard.
Albert
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.20/234 - Release Date: 2006/01/18