Page 1 of 1

executing perl file from php

Posted: Fri Sep 10, 2010 7:03 am
by lokesh_kumar_s
my requirement is like this i want to execute perl file from php.
1> php file should simply call the perl script file.
2> php file should not wait for completion of perl script. after php script triggers perl file let php respond to its http request. let perl continue.
is it possible?
please specify if any other alternatives other than perl.
what i want is asynchronous program executer.

Re: executing perl file from php

Posted: Fri Sep 10, 2010 11:37 am
by John Cartwright
Your best bet is a combination of forking a new process using pcntl_fork()and exec() -- or system()

Re: executing perl file from php

Posted: Mon Sep 13, 2010 9:41 am
by lokesh_kumar_s
i want to create on child process from a process. And i want to make it as a zombie. is it possible? how?

Re: executing perl file from php

Posted: Wed Sep 15, 2010 7:23 am
by lokesh_kumar_s
the attachement contains the requirement. please help.