|
Posted by C. (http://symcbean.blogspot.com/) on 01/21/08 12:17
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.
[Back to original message]
|