Ian Eure wrote:
I wrote a simple testcase that submits a single job to Gearman. If I run
it under Apache2, I get the socket_select() warning. If I run it from
the CLI, I don't. I'm also pointing the CLI at the Apache2 php.ini file.
At this point, I don't know how to track this any further. If I was
getting the same error on the CLI, I could trace it with gdb. I don't
know how I'd go about doing something like that for an Apache extension.
A really quick answer to this part:
If you want to trace this with gdb run Apache2, stop apache processes,
then run apache under gdb like this:
% sudo gdb apache2
> run -X
You can set the breakpoint before "run -X" or after it finishes loading
by stopping it with Ctrl-C, setting breakpoint, and cont'inuing. -X
ensures that it runs only a single process.
-Andrei
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php