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. Yours sincerely MARV

In reply to Apache forbids fork() and thread() by MARVion

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.