|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-06-10 17:42 UTC] aharvey@php.net
-Status: Open
+Status: Feedback
[2014-06-10 17:42 UTC] aharvey@php.net
[2014-06-10 19:28 UTC] lars at dcmediahosting dot com
-Status: Feedback
+Status: Open
[2014-06-10 19:28 UTC] lars at dcmediahosting dot com
[2014-08-31 13:52 UTC] lars at dcmediahosting dot com
[2014-09-08 17:39 UTC] lars at dcmediahosting dot com
[2014-09-08 19:31 UTC] aharvey@php.net
-Status: Open
+Status: Not a bug
[2014-09-08 19:31 UTC] aharvey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 07:00:01 2025 UTC |
Description: ------------ We're using PHP-FPM with chroot and execute external binaries like graphicsmagick etc. within chroot, but we're not able to execute binaries or any other command on 64 bit platform. Trying to execute anything on 64 bit gives an exit code 127. However it's working on 32 bit. So as a temporary solution we're using PHP-FPM on 32 bit with same configuration settings as 64 bit. Additional information: nginx 1.4.x is configured with PHP-FPM via TCP on an external PHP-FPM server. Test script: --------------- exec('ls -la', $c, $o); var_dump($c); var_dump($o); Expected result: ---------------- 64 bit platform outputs: array(0) { } int(127) 32 bit platform outputs a list of files and folders as it should.