PDA

View Full Version : Is php being run as a module or as cgi?


science_teacher
11-25-03, 12:06 AM
Does anyone know if php is being run as a module or as cgi on powweb?

Does this not bog down the server from time to time with busy sites?

Interestingly, I've done some speed tests and perl cgi seems about twice as fast as php.

tbonekkt
11-25-03, 12:08 AM
I believe PowWeb has implented php using mod_phpcgiwrap.

tbonekkt
11-25-03, 12:13 AM
Actually, according to http://www09.powweb.com/phpinfo.php (you can replace www09 with your HTTP server):

Server API: CGI/FastCGI

science_teacher
11-25-03, 01:25 PM
OK, thanks. Is it possible to run perl cgi as cgi fast? When I try to invoke the module CGI::Fast I get the error:

Can't find FCGI.pm etc etc

Is it possible to use fast cgi on powweb? I've searched the net for info on fcgi.pm, and it sounds like it is quite difficult to set up a server to use fast cgi. Usually the above-stated error results.

Thanks

science_teacher
11-25-03, 02:09 PM
OK, thanks. Is it possible to run perl cgi as cgi fast? When I try to invoke the module CGI::Fast I get the error:

Can't find FCGI.pm etc etc

Is it possible to use fast cgi on powweb? I've searched the net for info on fcgi.pm, and it sounds like it is quite difficult to set up a server to use fast cgi. Usually the above-stated error results.

Thanks