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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Jun 14 06:01:33 2024 UTC