welcome to the world of…

Looks like a small bulb used to indicate something unusual, like a malfunction.

Chroot PHP

Filed under: Uncategorized — Tags: , , , , , , , , — admin @ 2013-03-02 15:24

This is a poor man’s implementation of PHP environment chrooting. Apache’s suexec is too hardwired to user homes. Suexec is probably more secure but this is more flexible. (more…)

Transition to FastCGI

Filed under: Uncategorized — Tags: , , , , , , , , — admin @ 2009-05-08 17:36

Apache’s prefork MPM is a very heavy memory eater. Thirty instances together with PostgreSQL can consume more then 1.5GB of memory. I have already managed the PostgreSQL to become modest. Now the Apache is the target.

(more…)

mod_python vs. FastCGI

Filed under: Uncategorized — Tags: , , — admin @ 2009-01-24 12:19

I’m developing webapplications running under mod_python for a long time. I’m not very satisfied with the mod_python performance particularly the first load time so I’m looking for something like an application server – loaded modules will stay “longer” in the memory – application doesn’t need to be completely initialized very often. The FastCGI approach is very close. I ran benchmarks to measure overhead of the FastCGI (mod_fastcgi, mod_fcgid) compared to the mod_python. (more…)