Greendata
asked on
Wordpress not working with APC opcode cache on!??!?
Hi All,
We have a setup of 2 servers which runs our online applications:
(1) Front server we have a NGINX + VARNISH cache server which looks for new pages in our APP server, and/or responds with cached items.
(2) Below that we have the application server, a LAMP(centos 6) server: http://www.bodyscience.com.au/_info.php
The issue we are having is the following:
========================== ========== ====
-- We currently have a XCART shop, under /shop + a wordpress front site under website root.
-- Server previously ran Apache + eAccelerator in it.
-- We are now migrating to a MAGENTO shop, which is currently under development, on folder /shopdev
-- We have installed APC opcode cache to speed up magento store, but every time we active APC and deactivate eAccelerator the following happens:
----> Wordpress website stops working, white screen, even though we make sure we clear the cache on server (1).
----> Magento shop speeds up MUCH MORE(3x) than before and php scripts get cached properly.
!!!!!Apparently Wordpress site only works if eAccelerator is on, but we need this OFF. Strangely, it works fine if we have both eAccelerator and APC on.!!!!!!
Please help, where do we go from here??
Thanks in advance!
eAccelerator Config:
-------------------------- ----------
extension="eaccelerator.so "
eaccelerator.cache_dir="/t mp/eaccele rator"
eaccelerator.check_mtime=" 1"
eaccelerator.compress="1"
eaccelerator.compress_leve l="9"
eaccelerator.debug="0"
eaccelerator.enable="1"
eaccelerator.filter=""
eaccelerator.optimizer="1"
eaccelerator.shm_max="0"
eaccelerator.shm_only="0"
eaccelerator.shm_prune_per iod="0"
eaccelerator.shm_size="512 "
eaccelerator.shm_ttl="0"
APC config
-------------------------- ----------
extension=apc.so
apc.enabled=1
apc.shm_segments=1
apc.shm_size=512M
apc.stat=0
apc.ttl=7200
apc.user_ttl=7200
apc.max_file_size=20M
We have a setup of 2 servers which runs our online applications:
(1) Front server we have a NGINX + VARNISH cache server which looks for new pages in our APP server, and/or responds with cached items.
(2) Below that we have the application server, a LAMP(centos 6) server: http://www.bodyscience.com.au/_info.php
The issue we are having is the following:
==========================
-- We currently have a XCART shop, under /shop + a wordpress front site under website root.
-- Server previously ran Apache + eAccelerator in it.
-- We are now migrating to a MAGENTO shop, which is currently under development, on folder /shopdev
-- We have installed APC opcode cache to speed up magento store, but every time we active APC and deactivate eAccelerator the following happens:
----> Wordpress website stops working, white screen, even though we make sure we clear the cache on server (1).
----> Magento shop speeds up MUCH MORE(3x) than before and php scripts get cached properly.
!!!!!Apparently Wordpress site only works if eAccelerator is on, but we need this OFF. Strangely, it works fine if we have both eAccelerator and APC on.!!!!!!
Please help, where do we go from here??
Thanks in advance!
eAccelerator Config:
--------------------------
extension="eaccelerator.so
eaccelerator.cache_dir="/t
eaccelerator.check_mtime="
eaccelerator.compress="1"
eaccelerator.compress_leve
eaccelerator.debug="0"
eaccelerator.enable="1"
eaccelerator.filter=""
eaccelerator.optimizer="1"
eaccelerator.shm_max="0"
eaccelerator.shm_only="0"
eaccelerator.shm_prune_per
eaccelerator.shm_size="512
eaccelerator.shm_ttl="0"
APC config
--------------------------
extension=apc.so
apc.enabled=1
apc.shm_segments=1
apc.shm_size=512M
apc.stat=0
apc.ttl=7200
apc.user_ttl=7200
apc.max_file_size=20M
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You are wellcome, I am used to maintain a Magento platform for a customer it they use Magento community with Apache 2.4.4, Varnish 3.x, Php 5.4 and php-pecl-zendopcache-7.0 i have built for them
eaccererator xor apc xor opcache
undastood?
undastood?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
What does not work properly ? Im interested to know.
Don't worry for points :)
Don't worry for points :)
Would be nice if you use one accelerator. As a hint - supercache plugin uses APC...
ASKER
We cannot use the actual solution provided however it did prompt us to try other options.
We are resolving the problem ourselves. time has run out so we are reverting back to our original configurations until we have more time to troubleshoot.
We are resolving the problem ourselves. time has run out so we are reverting back to our original configurations until we have more time to troubleshoot.
ASKER