The general reason that people say php is faster than cgi is because it avoids the expensive fork/exec. This is also true for servlets run inside tomcat or some other process.

Normally, when a...