|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2009-09-03 14:46 UTC] RQuadling at GMail dot com
Description:
------------
Unable to fork. As a consequence, phpdoc/configure.php fails on windows
as it is unable to call external scripts.
Run the command below at the command prompt.
This works on PHP 5.3.0 (cli) (built: Jun 29 2009 21:44:56)
Reproduce code:
---------------
php -n -r "echo passthru('php.exe -v');"
Expected result:
----------------
PHP 5.3.1-dev (cli) (built: Sep 3 2009 09:58:01)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies
Actual result:
--------------
Warning: passthru(): Unable to fork [php.exe -v] in Command line code on
line 1
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 01 06:00:01 2025 UTC |
[2009/09/03 16:18:38] [D:\Personal Files\Downloads\Software\Programming\PHP\Latest Snapshots\php-5.3-nts- win32-VC6-x86-latest] [] >php -n -v PHP 5.3.1-dev (cli) (built: Sep 3 2009 10:16:30) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies [2009/09/03 16:18:40] [D:\Personal Files\Downloads\Software\Programming\PHP\Latest Snapshots\php-5.3-nts- win32-VC6-x86-latest] [] >php -n -r "echo passthru('php.exe -n -v');" Warning: passthru(): Unable to fork [php.exe -v] in Command line code on line 1 [2009/09/03 16:18:48] [D:\Personal Files\Downloads\Software\Programming\PHP\Latest Snapshots\php-5.3-nts- win32-VC6-x86-latest] [] > Basically, all the latest snapshots from windows.php.net are failing for me. All the official releases are working for me. Checking historical versions ... PHP 5.3.1-dev (cli) (built: Aug 27 2009 23:21:09) Works PHP 5.3.1-dev (cli) (built: Aug 28 2009 00:20:34) Works PHP 5.3.1-dev (cli) (built: Aug 28 2009 01:20:31) Works I'll get the historical updates and let you know when the failure started. Have you got any uncommitted code?[2009/09/03 16:18:38] [D:\Personal Files\Downloads\Software\Programming\PHP\Latest Snapshots\php-5.3-nts- win32-VC6-x86-latest] [] >php -n -v PHP 5.3.1-dev (cli) (built: Sep 3 2009 10:16:30) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies [2009/09/03 16:18:40] [D:\Personal Files\Downloads\Software\Programming\PHP\Latest Snapshots\php-5.3-nts- win32-VC6-x86-latest] [] >php -n -r "echo passthru('php.exe -n -v');" Warning: passthru(): Unable to fork [php.exe -v] in Command line code on line 1 [2009/09/03 16:18:48] [D:\Personal Files\Downloads\Software\Programming\PHP\Latest Snapshots\php-5.3-nts- win32-VC6-x86-latest] [] > Basically, all the latest snapshots from windows.php.net are failing for me. All the official releases are working for me. Checking historical versions ... PHP 5.3.1-dev (cli) (built: Aug 27 2009 23:21:09) Works PHP 5.3.1-dev (cli) (built: Aug 28 2009 00:20:34) Works PHP 5.3.1-dev (cli) (built: Aug 28 2009 01:20:31) Works I'll get the historical updates and let you know when the failure started. Have you got any uncommitted code?i have just tested the patch and it seems to work, the output i get is: on windows xp sp3 (all patches) C:\php>php -n -r "echo passthru('php.exe -n -v');" PHP 5.3.1-dev (cli) (built: Sep 3 2009 10:04:34) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies before the patch, it fails just like the report using svn version up to date.