oceanare at pacific.net.sg
Mon Mar 14 01:13:35 PST 2005
ray at redshift.com wrote:
> Hi Erich,
> I wrote a small test program in C that just printed a single <html>test</html>
> line and it was very slow when called as a cgi via apache. Much slower than
> PHP. Is there something that needs to be done in order for Apache to run C
> without having to shell out to the OS (?) or something.
I think you got already the answer to your question.
If C would be helpful, writing an Apache module could be a solution. You
module could then be linked with Apache. I would use this only as the
When we use C with Apache we do not use any other scripting language.
This allows us to remove things which make Apache big.
More information about the freebsd-performance