This is a read-only archive. No new posts or registrations. Privacy Page Still need help? Ask the volunteers at Geeks to Go, free.
Software

PHP opcode Cache that work with suPHP?

1 min read

This thread's last reply is from . Advice, software, and links below may be out of date — treat specific steps and download links with caution.

What happened in this thread

The poster asked whether a PHP opcode cache could work with suPHP. Server load stayed above 20 with suPHP and PHP CGI. PHP CLI lowered it to 14–18. After installing xCache, load fell below 2, but switching back to PHP CGI raised it above 20 again. [1]

The poster reported that xCache did not help with PHP CGI. They switched back to PHP CLI. The excerpts do not confirm a final fix. A reply suggested APC, memcache, or LiteSpeed, but reported no test results. [1] [2]

General guidance: For a similar server, check the cache and PHP handler documentation: does that cache support the exact PHP mode and suPHP version in use? Measure load under the same traffic before and after any change. The posts do not establish which setup caused the high load.

AI summary of this archived thread. Check the linked posts; old advice may be out of date.

Still have this problem? Ask a person at Geeks to Go → It's free.

Hi, I have a question if there is any PHP opcode cache that really work with suPHP? I've used suPHP before and found that my server was always overloaded. (load average is more than 20 most of the time.) Then, I decided to try PHP CLI, it worked a bit better. (load is about 14 - 18) Then, right after I've installed xCache. My load went below 2 which is normal for a Quad CPU. I, then, switched back to PHP CGI but now with xCache installed. That didn't help at all. My load went back to more than 20 again. So, I had to switch back to PHP CLI again. Today, I found that xCache doesn't work with suPHP. I also saw an article somewhere said eAccelerator doesn't work with suPHP either. Another article about APC + suPHP said that it cache some of PHP code but very less. Any idea? Thanks,
APC doesn't use a lot of memory, but it's effective. Same with memcache. You might also want to try replacing Apache with the free version of Litespeed.

Hi,thanks for sharing the information here.Really a good information is presented here…….


Does anyone else notice the SPAM in his signature…
Thank You, Mr. Bean. Yes…. SPAM Interesting that the links purport to related to Denver, when actually the individual hails from Mumbai, India… :angry: the individual and post have been removed.

Still having this problem?

This topic is from the What the Tech archive and can't take new replies. Geeks to Go is an active, free help community run by volunteers. Post your question there and a person, not a bot, will work through it with you.

Ask on Geeks to Go →