php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5979 export REQUEST_METHOD=GET / cgi php
Submitted: 2000-08-05 00:52 UTC Modified: 2000-08-05 13:26 UTC
From: peter dot kocks at baygate dot com Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0.1pl2 OS: Solaris 2.7
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: peter dot kocks at baygate dot com
New email:
PHP Version: OS:

 

 [2000-08-05 00:52 UTC] peter dot kocks at baygate dot com
Create a command line (CGI) version of php.

set the following environment variable
export REQUEST_METHOD=GET
run any php script off the command line.

(gdb) where
#0  0x80c26ff in _estrdup (s=0x0) at zend_alloc.c:289
#1  0x8065868 in main (argc=3, argv=0x8047c50) at cgi_main.c:632
(gdb)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-05 13:26 UTC] stas@php.net
fixed in CVS
BTW: what you are doing is not going to work anyway, I just made it not crash.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Jun 28 19:00:01 2026 UTC