hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : lighttpd + cgi or + fastcgi?
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

lighttpd + cgi or + fastcgi?

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 01-02-2010, 10:56 AM
warddr warddr is offline
Junior Guru Wannabe
 
Join Date: Dec 2009
Posts: 49

lighttpd + cgi or + fastcgi?


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?

Reply With Quote


Sponsored Links
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
USA Hosting, CPanel, FastCGI, LightTPD cmanns Shared Hosting Offers 1 06-18-2010 09:08 PM
CGI Lxadmin lighttpd turbowarp Hosting Security and Technology 4 10-28-2008 09:08 PM
How to set Lighttpd proxy to let apache run cgi/perl scripts? ivytony Hosting Security and Technology 3 10-24-2008 10:23 AM
Lighttpd, PHP 5.2 and "looks like the fastcgi-backend (/) terminated" SlappyTheFish Hosting Security and Technology 1 09-11-2008 05:54 AM
fastcgi / mod fastcgi UnrealSilence Hosting Security and Technology 3 05-22-2006 04:05 PM

Related posts from TheWhir.com
Title Type Date Posted
Netcraft Continues to See a Drop in Responses for July 2012 Web Survey Web Hosting News 2012-07-03 14:35:26
Web Hosting Sales and Promos Roundup – June 22, 2012 Web Hosting News 2012-06-22 16:36:15
Could Growing Resin Web Server Exert a Web Hosting Influence? Web Hosting News 2012-02-28 17:12:13
Slow Read DOS Attack Created by Software Engineer Shows HTTP Server Vulnerability Web Hosting News 2012-01-06 20:55:18
Control Panel cPanel Launches New Apache Configuration Script Web Hosting News 2011-12-28 19:41:39


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?