|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
25 + 32 = ?
Subscribe to this entry?

 [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: Sun Jul 14 22:01:28 2024 UTC