|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #64150 Add PTY support
Submitted: 2013-02-05 08:00 UTC Modified: 2020-04-30 08:30 UTC
Avg. Score:4.0 ± 1.0
Reproduced:0 of 0 (0.0%)
From: ivan dot enderlin at hoa-project dot net Assigned:
Status: Duplicate Package: Streams related
PHP Version: Irrelevant OS:
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: ivan dot enderlin at hoa-project dot net
New email:
PHP Version: OS:


 [2013-02-05 08:00 UTC] ivan dot enderlin at hoa-project dot net

Pseudoterminals (aka PTY) are very useful in many cases (please, read [1] [2] [3]). PHP has a “disabled” implementation of PTY (please see discussion [4] and you will find relevant links inside).

I wonder if technical issues encountered in the past are always true nowadays. If it does not, it would be a very great enhancement!


Test script:

$p = proc_open(
    [0 => ['pty', 'r'], 1 => ['pty', 'w']],

Actual result:
Warning: proc_open(): pty pseudo terminal not supported on this system in /tmp/foo.php on line 7


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-04-30 08:30 UTC]
-Status: Open +Status: Duplicate
 [2020-04-30 08:30 UTC]
Closing this as a duplicate of bug #33147.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jul 18 20:01:28 2024 UTC