Hello,
I'm running a low-end webserver with 80Mb ram. I host a php + sqlite site on it.
Now I was wondering what of these 2 is best to use, or any other suggestions:
Code:
fastcgi.server = ( ".php" =>
( "localhost" =>
(
"bin-path" => "/usr/bin/php5-cgi",
"socket" => "/tmp/php.socket",
"max-procs" => 1
)
)
)
or
Code:
cgi.assign = (".php" => "/usr/bin/php5-cgi")
If I take a look at htop the first with fastCGI is using 24 Mb of RAM while the normal cgi is only using 8Mb of ram.
There RAM-usage is for the whole server running lighttpd + php.
Wich one would you use and why?