Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: Apache forbids fork() and thread()

by marto (Archbishop)
on Nov 13, 2012 at 12:29 UTC ( #1003600=note: print w/replies, xml ) Need Help??

in reply to Apache forbids fork() and thread()

"The error thrown is a standard 500 server error"

And what did the web server logging tell you? Regardless of the issues already pointed out, you need to do basic debugging to help locate where your problems are. See the debugging advice here.

Replies are listed 'Best First'.
Re^2: Apache forbids fork() and thread()
by MARVion (Novice) on Nov 13, 2012 at 14:03 UTC
    Hi, thanks for the links! I tried a lot of things (in the links you posted), Shell says Syntax is ok, there are no fatalsToBrowser errors displayed in the browser, just the header which is printed anyway. I compiled with -cwT, anything ok. When running the code without the fork statement, anything works fine, when running it with the fork statement anything collapsed, also Perl for itself. Windows is telling me Perl isn't working anymore and asks for sending some more information (what I denied). I think it's an environment problem of Apache, but I don't know it for sure as I'm not that familiar with server configurations. Greetz

      Hi, check out a file called error_log, check out the Apache documentation and that of your WAMP stack for it's location, or search for it as you would any other file.

      Update: Please don't remove questions having asked them, it makes replies look rather silly.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003600]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2018-05-27 14:35 GMT
Find Nodes?
    Voting Booth?