From: amrood dot admin at gmail dot com Operating system: CentOS 6 PHP version: 5.4.19 Package: Filesystem function related Bug Type: Feature/Change Request Bug description:There is no way to use Unix98 pty on proc_open()
Description: ------------ Hi, I tried to use pty terminal type with PHP proc_open() function but could not success and got following message: PHP Warning: proc_open(): pty pseudo terminal not supported on this system in xxxx.php on line xx I saw it was raised somewhere in 2006 with Bug #39224 but not sure why it was not fixed. If you can give any clue why it was not fixed? Any security or any other issue? I can see this code is still available in proc_open.c Any help will be highly appreciated. Kind regards Mohtashim Test script: --------------- $descriptorspec = array( 0 => array("pty"), 1 => array("pty"), 2 => array("pty") ); $cwd = '/tmp'; $env = array('some_option' => 'aeiou'); Expected result: ---------------- No error. Actual result: -------------- PHP Warning: proc_open(): pty pseudo terminal not supported on this system in xxxx.php on line xx -- Edit bug report at https://bugs.php.net/bug.php?id=65537&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=65537&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=65537&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=65537&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=65537&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=65537&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=65537&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=65537&r=needscript Try newer version: https://bugs.php.net/fix.php?id=65537&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=65537&r=support Expected behavior: https://bugs.php.net/fix.php?id=65537&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=65537&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=65537&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=65537&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65537&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=65537&r=dst IIS Stability: https://bugs.php.net/fix.php?id=65537&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=65537&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=65537&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=65537&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=65537&r=mysqlcfg