PDA

View Full Version : Lighttpd and apccache / eaccelerator


Swamper
09-13-2006, 06:42 PM
Are there any HOW-TOs out there?

I can get either of them compiled and linked in php.ini but I can't seem to get it to work outside of ssh - I'll have one of them show up in phpinfo but not nothing comes up when I look at phpinfo via the web server.

Thoughts?

Edit: Problem solved -- I had to kill off any lingering php processes running as CGI - thanks to a thread Erwin posted in I clued in that may be something to try. :)

matmat
09-19-2006, 01:38 PM
Can you share how you Compile APC for lighttpd ?
Because i cant find the steps anywhere. https://vborg.vbsupport.ru/external/2010/09/3.gif
Thanks

Are there any HOW-TOs out there?

I can get either of them compiled and linked in php.ini but I can't seem to get it to work outside of ssh - I'll have one of them show up in phpinfo but not nothing comes up when I look at phpinfo via the web server.

Thoughts?

Edit: Problem solved -- I had to kill off any lingering php processes running as CGI - thanks to a thread Erwin posted in I clued in that may be something to try. :)

orban
09-19-2006, 04:27 PM
You compile eAccelerator for PHP not a webserver.

Erwin
09-21-2006, 12:38 AM
Btw, I switched from lighttpd to Apache 2.x - lighttpd may be fast but it doesn't handle heavy loads well - it kept crashing for me. So I now run Apache 2, PHP 5, with APC - works very well.

orban
09-21-2006, 08:28 AM
I'm using lighttpd and I had 3100 users on my Dual Xeon 2.8 and 2GB RAM (1.4m posts). Ran smooth with a load of ~10. Had about 100GB traffic that day.