Update 3: see update 2 for the solution!
APC (Alternative PHP Cache) is great for WordPress. It caches the compiled WordPress PHP files and greatly speeds up subsequent loads. I even wrote a WordPress plugin to make WordPress store its objects in APC instead of in the default file-based object cache.
WP-Cache2 is also great for WordPress, because it caches the HTML output of WordPress for a specified period.
So if both are good, together they should be awesome, right? Well… in theory, yes. Unfortunately, I’ve been having a heck of a time getting them to play together. What would happen was that pages would start showing up blank. Just a white page. Real helpful. The same thing happened when you tried to access /wp-admin/
The only way to fix it was to delete WP-Cache2. In desperation, I removed all the error-silencing @
from WP-Cache2. Ah. It was some problem with class_exists()
and APC. Apparently, APC doesn’t play well with class_exists()
.
Here is the solution I came up with… it seems to be working. I’ve been able to enable/disable WP-Cache2, restart Apache2, flush APC, with no White Page of Death so far!
[ I have removed my solution, to keep from misleading people, as it gave me problems later on ]
Restart Apache, flush your WP-Cache2 cache, and cross your fingers. I’ll update if I have any problems with this.
Update: Well that was short-lived! I’m still looking for a solution. It may involve naming the wp-cache-config.php
file differently for each WP install that is running WP-Cache2.
Update 2 (SOLUTION): This seems promising. In php.ini
in the [apc]
section I set apc.filters = wp-cache-config
which should exclude wp-cache-config.php
and wp-cache-config-sample.php
from being cached by APC.
Update 3: Yep! That did it!
Good luck with this =). I will be keeping an eye out to see what you come up with and I just hope that there is a solution that doesn’t require access to php.ini (although I know some php.ini settings can be changed from within a script itself, kind of like how .htaccess can change httpd.conf settings).
Great solution, I kept disabling APC whenever I needed to access the administration panel. Using your solution saved me the hassle.
Same configuration, almost the same problem. I did this:
apc.filters = “-.*cache.*\.php”, “podpress\.php”;
podpress wasn’t working for me…
hi
i recently installed wp-cache and all it does is cache /feed/ and not anything else. http://technopedia.info/tech
What are the filenames that are to be provided in the list of files to be cached?
thanks
Abs
Aha. That’s what I needed. I was just trying to install APC today, and ran into the blank-page problem. Filtering out wp-cache-config seems to have things working. I wonder why it conflicts like that?
WP-Cache2 declares a class conditionally… and apparently APC doesn’t do well under those circumstances. I believe the error was due to the class not existing, because APC thought it didn’t when it should have. Blank page because errors are all turned off and everything is @silenced. I experimented with all sorts of things to make it work, but with no luck. This might change as APC matures… I hear it is under consideration for PHP6, but for now, filtering out wp-cache-config is a viable workaround.
How about something like PHPA which is also free and has gotten good reviews.
http://www.php-accelerator.co.uk/
It’s supposedly better than zend and yahoo uses it.
Works with php 4.4.1 too.
I don’t have it (or root) on my current host or I’d try it, but I’ve had it on previous hosts and it’s transparent.
Hm, I’m now seeing a very similar issue with wp-cache2 and php-eaccelerator.
I am running the latest APC and WP-Cache and I’m getting the ‘white page of death’ error. I have tried a variety of filter settings in apc, flushing the wp-cache, and restarting apache. No luck yet. Mark – do you have WP-Cache successfully working with APC? As of now, I’m just going to use APC.
Any other suggestions?
Unfortunately, no luck here as well. Just as Ben’s problem; blank screen on first load, but subsequent loads work. I have removed all error suppressions from all wp-cache files. Even my log files are completely clean (after a couple file_exists() additions to the code. I’m still troubleshooting though…
Solution has been discovered! I have posted the solution on my blog for details, but so you know I’m not link spammin ya, here’s how: Edit wp-cache-phase2 list 219. Change ob_end_clean() ob_end_flush().
The problem is ob_end_clean() cleans out the buffer without actually flushing it to the screen and I don’t see any flush() calls before hand. Changing it to ob_end_flush() will end the output buffer and flush all data to standard out.
I have tested this solution with and without APC and it seems to be working.
Sounds great, but what about non techies like me? How to install it safe?
Instead of APC I use eAccelerator, and it’s a beast. My site blazes, man, and there are 0 compatibility problems.
Hi there,
I was new to wordpress and those plugin staff. I had install this wp-cache plugin. I had enable the plugin from the optioin there.
So how can i know that this plugin had take effect and how can i view the statistic thing?
Anyhting to be check and any setting needed?
Thanks
Eric
I am sorry for breaking WP-Cache/WP-Cache2 with APC … with a decent enough test case, that bug was fixed for good today (for php4, php5 having had that fix for months).
t3rmin4t0r,
Thanks for the update!
I just found this. Interesting article as I am setting up a multi-server architecture for something unrelated to blogging and was investigation PHP opcode cache, APC and eAccelerator.
I plan to host my own blog on my own server in a colo soon (in the near future) so I will let you know how it goes.
where to download APC (Alternative PHP Cache)? thanks
was new to wordpress and those plugin staff. I had install this wp-cache plugin. I had enable the plugin from the optioin there.
use eAccelerator, and it’s a beast
Adventures with WP-Cache2 & APC
veri kurtarma, data veri kurtarma, veri kurtarma indir, kurtarma
programı, veri kurtarma programı, disk kurtarma, disk veri kurtarma, veri kurtarma full, data
recovery, veri kurtarma format, silinen veri kurtarma, hdd veri kurtarma, silinen dosyaları
kurtarma, data kurtarma, veri nedir
Fore Kazık, Kazık Makinası, BEKSAL ZEMİN, Sağlıklı yapılar için Fore Kazıklama sitemleri şarttır.
Thanks for posting about this, I would like to read more about this topic.
I have tested this solution with and without APC and it seems to be working.
How did you track down the error to that one file? I’ve got a server with APC which is serving blank white pages (with 500 status), but there’s nothing in the PHP or Apache error logs… most frustrating.
1 Number of chat sites expect you all http://www.seslichatodasi.com Thanks
I’m having the blank-page problem with WordPress 2.8.4 + APC without the WP-Cache2 plugin, does anoy one else had this problem before?
What is odd, is that the blank pages just come from time to time, what I mean is the blog is working right now, but at any time it stars to serv blank pages, and then fix it by it self!
Im am currently having that problem too. I just upgraded to APC 3.1.3p1 and PHP 5.2.11
I am getting blank pages when I go to the admin area on all my installations.
Fixed it by setting apc.include_once_override = 0 or just removing that line altogether.
Its a bug that mess up shit.
http://pecl.php.net/bugs/bug.php?id=15356
Thanks D Mang, but it haven’t worked for me!
Sitemizde sesli görüntülü chat, kamerali sohbet chat, sesli sevgi, görüntülü sohbet, sesli dini sohbet, sesli sohbet siteleri, görüntülü sohbet, tikla sohbet,sesli chat, seslichat, seslisohbet, kamerali chat, sesli cet, kamerali sohbet, canli sohbet, sohbet odalari, sesli kamerali sohbet, sesli görüntülü sohbet, sesli chat sohbet, sesli kamerali chat, sesli dunya chat, sesli kamerali sohbet, sesli görüntülü sohbet
thanks good post
TESKKURLER WWWW.SESLISEMT.COM HERKESI BEKLERI Z
Excellent tips .I really appreciate all these points, and I agree completely…
15
thank youuuu
thnksssss
thnkssssss
very thankssssssss
thnksss
thnkss
thnk youuuuuu
very thnkssssss
thnk you
thnk youuuu
thnk youuuuu
very thnksssss
Good thanks
Thanks Admin Thanks Admin Thanks Admin Thanks Admin Thanks Admin Thanks Admin Thanks Admin Thanks Admin Thanks Admin
tşkkürler
eyw..
saol saol saol admin
Thanks Administrator.
Thanks Hemde En büyüğünden 🙂
Big Blog Big thanks… !
Nobody are here ? Thanks Admins 🙂
tskler
thnks
tsklerrrrr
thnk youuuu
A logical approach. But I think there is missing information. Yuz Estetigi
sesli muhabbet
Páginas estáticas. Usar WP-Cache, nada nuevo, solamente añadir un enlace a un post de Mark Jaquith que explica cómo combinar APC+WP-Cache sin conflictos
sesli chat sesli sohbet
sohebt odamızdaki kızlar sizi bekler
tatlı sesli soghbet
tskler
tsk
pornizle.org
liseli kızlar sex izle etek altlari
turkce porno izle turkce porn
Türk Liseli Gizli Çekim pornosu
porn enyeni yakın çekim
THNK YOUUU
TSKLERRR
THNKS
Thank you editors for the topic.Its include a lot of useful informations.i join this blog i couldnt see unnecessary arguments and it makes us happy thnx all moderator n editors.
Thank you editors for the topic.Its include a lot of useful informations.i join this blog i couldnt see unnecessary arguments and it makes us happy thnx all moderator n editors.
Thank you editors for the topic.Its include a lot of useful informations.i join this blog i couldnt see unnecessary arguments and it makes us happy thnx all moderator n editors.
Thank you for your hand health
Thanks Administrators For Dar Gelirli Users..
TEssekgurLer Admin
Good Thanks Admin Super…
This is a quarterly growth figure. It is standard practice in the United States to report growth data on an annual basis.
thanks admin
Thanks Administrators For Dar Gelirli Users..
thank you very nice.
space constraints prevent all comments from appearing. We will only approve comments that are directly related to the blog, use appropriate language and
thanksadmin
Thank you for the information your provide.
Thank You superr
sesli ve kamerali chat siteleri
msn ask sevgi dini ata felsefe sozleri
very nice good.
good thanks.
thank you dostum.
eyvallah dostum thanks.
tikla gel sende.
tesekkurle dostum senin anlayacagin dilden thank you yani.
good thanks admin.
good thanks admin.
a very successful site. Also very revealing article. Thanks to the contributors.
Liposuction
Thank’s very much.
Thanks admin super.. konu
prevent all comments from appearing. We will only approve comments that are directly related to the blog, use appropriate language.
comments from appearing. We will only approve comments that are directly related to the blog, use appropriate.
from appearing. We will only approve comments that are directly related to the blog, use appropriate language and
cokk guzelll mıss bby
thank you you welcome
Harıkasınız Süper Olmus Ve Sitemize Bekliyoruz Herkezi http://www.zirvesohbet.com Simdiden Tşkler..
This information is thanks to my very
As you have a blog about sharing was very nice.
I host it and different places in search of an active subject.I thank you for informationn
hello ı love your mııss oky komoo thenk you hi iz doruksesli chet saygılar
hello he iz sesli chet ı love yes
hello pusat
Thank you editors for the topic.Its include a lot of useful informations.i join this blog i couldnt see unnecessary arguments and it makes us happy thnx all moderator n editors.
Hi, Everyone would stand on our site
http://www.minelask.com seslichat seslisohbet görüntülü chat sitesi..
herkez yazmis biseyler iki kelemda biz edelim dedik 🙂
thaks admin
thanks admin so much.
thanks admin
his information is thanks to my very
Turkey ArkadasLık Sitesi
Thanks..Great article and good inquire.
hi, thanx a lot for this topic. i have a problem when i want to go to my site like blocked google because the banned by turkish ministry http://www.herkesebendencay.com
by using this way i have fixed my problem.
thanksssd
seslipanel tescilpanel
thanks for the comments.
Teşekkürler dostum
thanks a lot
TSKLTY
THNKSSSSS
thnksss
tsk
thnkssssss admın
thnkss
thnkyou
Wayy bee tum olay Bu Demekk Tesekkurler
I enjoyed reading your blog. Keep it that way. tovphizfdivrrlqc
muzikdinle
thanx shared
thnkyou
It links of london bracelet with Site Haritasi with navy and baby blue thread, the features the male symbol of Mars, 925 Sterling Silver Or 18CT
Gold.
tenku admin
yiıldız tilbe hayaranlarını bekliyoruz
This post was very well written, and it also contains a lot of useful facts. I appreciated your distinguished way of writing
the post. Thanks, you have made it easy for me to understand.
Good! Thanks This is handy plugin.
A work a lot with APC, really easy and great!
This is a great. thanks Admin
Kosmodisk Classic Set, kan dolaşımını kolaylaştırarak yorgun kasların ısınmasına, yumuşamasına ve rahatlamasına dolayısıyla ağrıların azalmasına yardımcı olur.
thanks you very nice great
liseli, liseli Kizlar
thanks for this a post.
goog post meen
Videosunu izle, Komik ve Eğlenceli Videosunu İzle, Amatör Videosunu İzle, Şarkısını Dinle
tkhank
http://www.altincilek.web.tr
Your website is wonderful . I’ve found out considerably from your post . It’s unbelievable . Keep up the excellent work and thanks a ton .
thanks website admin
saol admincik
sokak köşelerinde çok vakit geçirdim
There is a more straightforward and general solution to eliminating the WordPress white screen of death issue when using APC Cache
Since the problem appears to reside with include file(s)
Set apc.include_once_override=0 in your /etc/php5/conf,d/apc.ini file
Danny
Thanks You Admin..
Wp Cache 2 nice post editörs
disagree with the negative comments
Best regards, Katya, CEO of cdburner
wp nice post cache thanx…
bi de bunu deneyek
absolutely this is 100% true! please email me: swietlana_kowniakowa@gmail.com and rememberdom opieki gdańsk
wp cache 2 nice thanx admin…
thank youuuu for sharing
kameralı ve sesli sohbet.
Eywallah Admin Kardeş Ben Seni Seviiim Sende Beni Seviin mi ?
Thanx Administrator.
Thanks You Admin..
very nice sharing. Thank you. I decided to follow consistently.
very nice sharing. Thank you. I decided to follow consistently.
Admin your blog is very nice.
For information, thank you. However, I want to say something … I view some of the pictures on your site. Is there a problem?
thanks wery nice post good page
s I have tried a variety of filter settings in apc, flushing the wp-cache, and restarting apache b
Facebook and leave it at that. It’s just software so like anything else, how it’s used depends on the person using it. Your personal information is never yours if you use social networking. They hide that in the privacy policies, but it’s there.
is getting all users to think about privacy, but the transition tool and other changes actually discourage or eliminate some privacy protections that Facebook users currently employ.
Welcome to the Moncler Jacket Sale at moncler jackets- Moncler Jacket Sale,Cheap moncler coats for Women and Men are Provided In moncler coats sale
it really should default to full lockdown. not everyone even knows about the security settings or reads about it.
i can’t stand that every application has to have access to the info either.
This also directly ignores the more than 1.5 million Facebook users in 24 groups who find the status updates of their “friends” annoying. There is every indication that it is in the worst interests of
orge V in 1911 Much of the future of the Red and Black is played on this qualification for the C1, but at the crucial moment, things are emerging evil It was totally absent in the determination, there is always next, late A deafening roar rises from the place
thanks admin..good post
verry good site thank you….
I just wanted to comment your blog and say that I really enjoyed reading your blog post here.
It was very informative and I also digg the way you write!All of them make sense and are very helpful. Keep posting.
thnks admin very much
i can’t stand that every application has to have access to the info either.
Thank You very nice, wordpress cache !
thank you very nice cache
Thank You very nice, wordpress cache !
çok Kırmızı ve Siyah geleceği C1 için bu yeterlilik üzerinde oynanan 1911 yılında V orge kritik bir anda, her şey bu belirlenmesinde tamamen yoktu kötülük ortaya çıkmakta, her zaman yanında, geç bir sağır kükreme yükselir var yerden
THNKSS ADMIN
partilha muito agradável. Obrigado. Decidi seguir de forma consistente.
Het moet echt standaard volledige vergrendeling. niet iedereen weet zelfs over de beveiligingsinstellingen of leest erover.
thanks admin..good post
I would like to point out my gratitude for your generosity for men and women who actually need help with this particular issue. Your special commitment to passing the solution around was extremely powerful and have all the time enabled others like me to realize their targets. Your amazing helpful guideline can mean this much to me and further more to my mates. Many thanks; from each one of us.
thanks for this a post.
The post is very usefull and it contain graet ideas
Google+ is good for professionals and geeks who use social networks for networking mainly
Yes. Google+ is good. i like it!
thanks for this a post.
partilha muito agradável. Obrigado. Decidi seguir de forma consistente.
Great post. Thank you much!
thanks for this a post.
This is a very good article! You did a very good job!
thanks admin..good post
Thank You very nice, wordpress cache !
thanks for this a post.
great post thanks a lot god article.
After study a few of the blog posts in your website now, and I actually like your approach of blogging. I bookmarked it to my bookmark web site list and can be checking back soon. Pls check out my website online as nicely and let me know what you think.
i love reading your post. Great one!
i thought this this Wc3 total cache … any experience with the difference
I use quick cache… with minify addictional it seems fast?
Thanks!!!!!!!!!!!!! I bookmarked it to my bookmark web site list and can be checking back soon….
good sharing thanks a lot.
Thanks you very much for your share..:D
I like it..thanks for your post great..
great post thanks a lot god article.
Thanks!!!!!!! i like post.
Yes WP-Cache is a very useful plugin. I am using this plugin and love the features.
good sharing. thank you for admin
great article very nice…
Great information, thank you!
Great article. Thanks for inquire.
Very good blog
I’ve been having a heck of a time getting them to play together
tskler arkadaslar harıka bır paylasım
tskler guzel b1r ac1klama ve s1te tebr1kler
Congratulations on a sharing Thank you very nice …..
kizi – Y8 kizi – kizi games
game for kids
Content very good,
Thanks!
I like post of your.
great article very nice…
great article very nice…
Hm, I’m now seeing a very similar issue with wp-cache2 and php-eaccelerator.
Thank you for this information is very useful to me
Congratulations on a sharing Thank you very nice
great article very nice…
Great information thanks admin
Thanks Admin very nice share!
great post very nice post thanks a lot.great article…
Thank you for your information good
Y8
Thank you very much for everything, but everything always love technology writer
Its include a lot of useful informations. Thanks for the topic.
wordpress living endless 🙂
i had some problems with apc too, i love eaccelerator but it seems the site is all broken now
I think this is one of the most significant info for me. And i am glad reading your article. But wanna remark on some general things, The site style is great, the articles is really excellent : D. Good job, cheers
thank you, good work master.
partilha muito agradável. Obrigado. Decidi seguir de forma consistente
拝啓
株式は常に素晴らしいです、私はあなたのとても素敵なサイトを見ています
Thanks for the update!
thank you, good work master.
tskler
cok güzel bir site arkadaslar
I really thought you guys were awful harsh in the original post anyway. His craigslist posting was top notch
tskler arkadaslar sagolas1n1z
Great article. Thanks for inquire.
Very good blog.