ID:               27051
 Comment by:       benadler at gmx dot net
 Reported By:      ghoffer at globalscape dot com
 Status:           Feedback
 Bug Type:         Feature/Change Request
 Operating System: Windows
 PHP Version:      4.3.4
 Assigned To:      pajoye
 New Comment:

I updated to php-5.3-nts-win32-VC9-x86-latest.zip yesterday night. The
impersonation problem with iis6 and fastcgi was fixed, but when starting
a php-script from the command line/dosbox, I get:

Warning: exec(): Unable to fork [imconvert.exe ...] in scriptname.php
on line X

Using exec() works fine when the scripts are called from IIS, though.
The failing scripts have worked fine before updating php.

I traced the execution using sysinternals process monitor, and

Process Create
C:\WINDOWS\system32\cmd.exe
cmd.exe /c "imconvert "tif:D:/data/foo.tif[0]" "D:/data/bar.jpg""

shows SUCCESS, but it seems imconvert.exe is never started, as it
doesn't show up in the trace. Process Monitor shows that the php script
is running as the user who's currently logged in, but I cannot see which
user is trying to start convert.exe

Can I help with more info?

ben.


Previous Comments:
------------------------------------------------------------------------

[2009-09-02 01:59:18] s...@php.net

Automatic comment from SVN on behalf of pajoye
Revision: http://svn.php.net/viewvc/?view=revision&revision=287958
Log: - #27051, we need the thread token here, not the process

------------------------------------------------------------------------

[2009-09-01 22:51:47] paj...@php.net

Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/



------------------------------------------------------------------------

[2009-09-01 22:51:31] s...@php.net

Automatic comment from SVN on behalf of pajoye
Revision: http://svn.php.net/viewvc/?view=revision&revision=287954
Log: - #27051, create process as impersonated user

------------------------------------------------------------------------

[2009-08-27 22:20:39] paj...@php.net

Assigned to me so it will stay in my radar. I can see the src of the
bug.

------------------------------------------------------------------------

[2009-08-27 19:17:38] nathan at andersonsplace dot net

Please note this is still occurring in PHP 5.2 branch.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/27051

-- 
Edit this bug report at http://bugs.php.net/?id=27051&edit=1

Reply via email to