View Full Version : Puzzling Question...
Theiggsta
Sat 26th May '01, 5:42am
I am learning some perl and understand that you can compile a perl module and have it run in the background via an interpreter so it runs as a system program/service.
What I am asking is, can PHP do the same? If so, what program(s) are needed to do this, because I need to have this for a shopping cart im creating.
Its needed for automated code that normally, php cannot do unless it is called upon. So I was just wondering if anyone knew.
thanks :)
Theiggsta
Sat 26th May '01, 3:23pm
figured it out, nevermind :)
roy7
Fri 1st Jun '01, 12:10pm
I'll just interject I highly recommend FastCGI (www.fastcgi.com) over mod_perl.
-Jonathan
krs-one
Sat 16th Jun '01, 1:10am
why on earth would you use fast cgi over mod perl? mod_perl is supported on so many more servers, and is a lot faster.
and Theiggsta
if you answer your own question, post the answer, somebody may be asking the same question.
-vic
roy7
Sat 16th Jun '01, 1:53am
It uses a lot less ram, mod_perl can add a few meg to every httpd process. It lets you control the # of processes you are running. The processes can be located on a remote host from the webserver itself. It is supported by many web servers including apache, roxen, zeus, IIS, and netscape's. You can also use fastcgi with C/C++, python, java, and tcl not just perl.
I just wanted to be sure people knew there were options other than mod_perl.
-Jonathan
Theiggsta
Sun 17th Jun '01, 1:44am
Well you need to make a script run in a commonly called script that does these automated functions.
PHP version 5 is remored to have an interpreter for this, so im waiting for something special.
vBulletin® v3.8.0 Release Candidate 1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.