Forum Moderators: mack
all thinks being equal, for a medium-sized, medium-traffic site, is PHP just as fast as others (i.e ASP, JSP, etc)?
I'm very new to web programming and trying to understand the various technologies.
Thanks.
[edited by: mcmoxie at 3:50 pm (utc) on July 21, 2004]
I suspect that it would perform better in a UNIX/Linux environment than it does in Windows. Whether it would appear to out-perform any other scripting language is relative to the hardware, bandwidth, code efficiency, how often the output buffer is flushed during operations, etc.
I've noticed that PHP tends to run slower than ASP on Windows/IIS boxes because you're basically calling an EXE via command line for every PHP page (same reason Perl runs slower on Win/IIS too).
AFAIK, thats because PHP does a fork() for new requests, which is cheap (in terms of efficiency) under *nix, but expensive under windows.
Don't forget that performance could also be related to the speed of any database, or external data source, and so on...