Euphoria for cgi -- issues
Figured out how to get do cgi scripts with Euphoria on my web server
(shared host).
It occured to me, however, that unlike PHP and other cgi languages,
there are no configuration variables to set that protect me from doing
something stupid. Although Rob has pointed out that you don't
necessarily need permission to run Euphoria on a web server (to get it
technically working I mean), I believe with most (shared) hosts it is
not actually officially "allowed" even if it does happen to work. (Most
hosts specify PHP & Perl only or something -- no C programs, etc.)
Therefore, I have no desire to bring it up to my host if I decide to run
a Euphoria script.
Anyway, without shell access to my host, is there a way to kill a
Euphoria process if it were to get stuck in a loop or something like
that? (With PHP there is usually a max execution time of 30 seconds for
any script, and then it is killed automatically.) Or must I just make
sure I do all my debugging on my home machine (difficult of because of
different OS, scripts grabbing web pages, etc.) to avoid potential
trouble?
Also, does anyone have any idea how the overhead of Euphoria compares to
PHP or Perl running on Linux? (PHP is known as very resource-friendly,
while Perl is known to hog them a bit -- where does Euphoria fall in? I
assume on the hog side because PHP gets its advantage from being a
built-in Apache module, whereas Perl has to create extra processes. I
think.)
|
Not Categorized, Please Help
|
|