VPS » VPS TurnKey

ID #1003

Vilken typ av PHP skall jag använda för min webbplats?

The php option depends on traffic that you expect for the site and if the site e.g. uploads or creates images or files on the server.

mod_php:

- fast
- runs not under admin user of the site
- well suited for low and high traffic sites, but not for cms systems like joomla.

suphp:

- not so fast
- script runs under web admin
- secure
- well suited for low traffic sites

fastcgi

- fast
- script runs under web admin
- secure
- well suited for high traffic sites

so basicalley the decision is, if a site is low traffic, use suphp. suphp spawns a new cgi process for every page request, but it does not use resources when no pages are requested. On the opposite fastcgi, the php processes are running permanently even if no page is requested, this is faster and fine for a high traffic site but for a small homepage with 100 pageviews per hour you would waste resources.

Taggar: -

Relaterade poster:

Senast uppdaterad: 1970-01-01 01:00
Av: :
Ny version: 1.1

Digg it! Share on Facebook Skriv ut inlägget Skicka till en vän Visa som PDF-fil
Föreslå en översättning för Föreslå en översättning för
Rösta på detta inlägg:

Resultat av röstning: 0 (0 röster)

helt utan värde 1 2 3 4 5 mycket värdefull

Du kan inte kommentera den här frågan