Discussion: php under FastCGI
Afficher un message
Vieux 21/01/2008, 13h17   #2
C. (http://symcbean.blogspot.com/)
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: php under FastCGI

On 21 Jan, 10:18, drblitzkr...@gmail.com wrote:
> Problem: If you need to run regular php scripts under FastCGI, saving
> on the overhead of fopen'ing and reading in the contents before
> executing each time, in theory I guess you'd put a FastCgiServer
> directive in your httpd.conf, and direct it to some sort of app (could
> be written in C or anything) that loads and keeps in memory all your
> php files from your site, and runs their contents when a url request
> comes in for that file. Does such an app exist?


Yes - a ramdisk. But if you're using a sensible operating system it
will be cached anyway.

But more sensibly, a PHP accelerator will go even further by caching a
tokenized version of the script

C.
  Réponse avec citation
 
Page generated in 0,04715 seconds with 9 queries