MARVion has asked for the
wisdom of the Perl Monks concerning the following question:
Hi to all of you,
I'm a student from Germany. Because this site helped me a lot in the past, I now have to ask a question for which I can't find a good answer through the whole Google.
I have web based software running local on a Windows machine on a XAMPP server. The copy of that is running on a linux machine, also Apache server.
I NEED to create a complete new free process but when I try forking or threading, perl breaks down and the complete software throws errors. Using a system call worked fine locally but needs a lot of time (it's a spearate *.pl script I am calling). So this is the reason why I need to run it indepentand from within the web based program. Is there any way, any possiblity, workaround or Apache modification resolving my problem?
I also tried Proc::Daemon, but this also isn't working because of the simulation of a fork().
I also tried thread->detach but, for sure, it wasn't working at all.
The error thrown is a standard 500 server error, with the text:Premature end of script headers.
I'm looking forward to hear from you!
It would be very nice if somebody could help me with that problem I have for about three days now.