emulating http request on commandline?

From: Date: Thu, 12 Jul 2001 20:50:38 +0000
Subject: emulating http request on commandline?
Groups: php.dev 
Request: Send a blank email to php-dev+get-59870@lists.php.net to get a copy of this message
Do any of y'all know how I might go about duplicating the actions taken by PHP when run as an Apache module on the commandline, including passing cookie data? I'm trying to track down a segfault in PHP, but I'm having trouble jumping from Apache to PHP code in gdb. I don't think the issue has anything to do with php being a module, so if I can recreate the crash with the PHP standalone binary, I might have an easier time of it. What's the easiest way to go about that? How can I see the SCRIPT_URI, QUERY_STRING and other apache variables from gdb, and how can I recreate those for the php cgi binary to see? Thanks, B -- Brian Lalor blalor@insight.com (v) 480-333-3196 (f) 480-760-9298

« previous php.dev (#59870) next »