php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1678 popen() broken
Submitted: 1999-07-07 15:08 UTC Modified: 1999-07-16 14:06 UTC
From: Kgreene at texas dot net Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0.11 OS: Win32
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: Kgreene at texas dot net
New email:
PHP Version: OS:

 

 [1999-07-07 15:08 UTC] Kgreene at texas dot net
On win32 systems with  versions of php higher than 3.0.6, the popen() function seems to be broken or
simply not there. PHP returns the error
Fatal error: Call to unsupported or undefined function popen() in c:\inetpub\wwwroot/encrypt.php3 on line 17

This has been tested on 2 local systems, one NT server system running IIS 4 and one 98 system, running PWS 4.0.

for a script example, ANY call to popen() will produce this error.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-07-08 23:03 UTC] jim at cvs dot php dot net
It's (inadvertantly) called _popen() under Windows because of some
#define yuckiness.

Still scratching my head on how to best fix this for future releases..
 [1999-07-16 14:06 UTC] jim at cvs dot php dot net
Fixed in CVS.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 10:00:01 2026 UTC