Bug #69847 [NEW]: exec() : output parameter empty since 5.6.3

From: Date: Tue, 16 Jun 2015 07:53:20 +0000
Subject: Bug #69847 [NEW]: exec() : output parameter empty since 5.6.3
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-193539@lists.php.net to get a copy of this message
From: marcaurel at gmx dot de Operating system: Windows Server 2008 R2 SP1 PHP version: 5.6.10 Package: Program Execution Bug Type: Bug Bug description:exec() : output parameter empty since 5.6.3 Description: ------------ I'm using PHP on Windows Server 2008 R2 SP1 / IIS7.5 I execute a PowerShell script via exec(). This PowerShell script produces output which is normally found in the output parameter of the exec() command. Since PHP 5.6.3 the output parameter of the exec() commmand is empty after the script has run. I've tested all versions from 5.6.1 to 5.6.10 The script is executed flawlessly with all versions but only 5.6.1 and 5.6.2 have the script's output in the exec() output parameter. All later versions fail to pass on the script output. -- Edit bug report at https://bugs.php.net/bug.php?id=69847&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69847&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69847&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69847&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=69847&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=69847&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=69847&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=69847&r=needscript Try newer version: https://bugs.php.net/fix.php?id=69847&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=69847&r=support Expected behavior: https://bugs.php.net/fix.php?id=69847&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=69847&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=69847&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=69847&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69847&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=69847&r=dst IIS Stability: https://bugs.php.net/fix.php?id=69847&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=69847&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=69847&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=69847&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=69847&r=mysqlcfg

« previous php.bugs (#193539) next »