#33147 [NEW]: pty pseudo terminal is not support on this system in
From: skissane at iips dot mq dot edu dot au
Operating system: Linux
PHP version: 5.0.4
PHP Bug Type: Program Execution
Bug description: pty pseudo terminal is not support on this system in
Description:
------------
Trying to use Unix98 pty's with proc_open gives error " pty pseudo
terminal is not support on this system in ". But, /dev/ptmx exists, and
devpts is mounted on /dev/pts!
PHP configuration:
'./configure' '--enable-cli' '--disable-cgi' '--with-xsl'
'--prefix=/usr/local/php-5.0.4/' '--with-dba' '--with-cdb'
'--with-mssql=/usr/local'
Reproduce code:
---------------
<?php
// Create a pseudo terminal for the child process
$descriptorspec = array(
0 => array("pty"),
1 => array("pty"),
2 => array("pty")
);
$process = proc_open("ls -l /", $descriptorspec, $pipes);
if (is_resource($process)) {
echo "OK!";
}
else {
echo "FAIL!";
}
?>
Expected result:
----------------
OK!
Actual result:
--------------
Warning: proc_open(): pty pseudo terminal is not support on this system in
/home/skissane/php-5.0.4/ptytest.php on line 8
FAIL!
--
Edit bug report at http://bugs.php.net/?id=33147&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33147&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33147&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33147&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=33147&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=33147&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=33147&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=33147&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=33147&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=33147&r=support
Expected behavior: http://bugs.php.net/fix.php?id=33147&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=33147&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=33147&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=33147&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33147&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=33147&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=33147&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=33147&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=33147&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=33147&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=33147&r=mysqlcfg
Thread (22 messages)
- skissane at iips dot mq dot edu dot au
- skissane at iips dot mq dot edu dot au#33147 [Opn]: pty pseudo terminal is not support on this system in
- skissane at iips dot mq dot edu dot au#33147 [Opn]: pty pseudo terminal is not support on this system in
- skissane at iips dot mq dot edu dot au#33147 [Opn]: pty pseudo terminal is not support on this system in
- tony2001@php.net#33147 [Opn->Fbk]: pty pseudo terminal is not support on this system in
- skissane at iips dot mq dot edu dot au#33147 [Fbk->Opn]: pty pseudo terminal is not support on this system in
- sniper@php.net#33147 [Opn->Asn]: pty pseudo terminal is not support on this system in
- wez@php.net#33147 [Asn]: pty pseudo terminal is not support on this system in
- derick@php.net#33147 [Asn]: pty pseudo terminal is not support on this system in
- wez@php.net#33147 [Asn->Opn]: pty pseudo terminal is not support on this system in
- skissane at iips dot mq dot edu dot au#33147 [Opn]: pty pseudo terminal is not support on this system in
- skissane at iips dot mq dot edu dot au#33147 [Opn]: pty pseudo terminal is not support on this system
- skissane at iips dot mq dot edu dot au#33147 [Opn]: pty pseudo terminal is not support on this system
- sniper@php.net#33147 [Opn]: proc_open(): "pty pseudo terminal not supported on this system"
- sniper@php.net#33147 [Opn->Asn]: proc_open(): "pty pseudo terminal not supported on this system"
- sniper@php.net#33147 [Asn->Opn]: proc_open(): "pty pseudo terminal not supported on this system"
- justinhead at insightbb dot com#33147 [Com]: proc_open(): "pty pseudo terminal not supported on this system"
- gescheit at list dot ruReq #33147 [Com]: proc_open(): "pty pseudo terminal not supported on this system"
- bwg at briangortney dot comReq #33147 [Com]: proc_open(): "pty pseudo terminal not supported on this system"
- spam2 at rhsoft dot netReq #33147 [Com]: proc_open(): "pty pseudo terminal not supported on this system"
- bwg at briangortney dot comReq #33147 [Com]: proc_open(): "pty pseudo terminal not supported on this system"
- nikic@php.netReq #33147 [Opn->Csd]: proc_open(): "pty pseudo terminal not supported on this system"