ID:               24111
 Comment by:       willeffects at yahoo dot com
 Reported By:      abramov at fromru dot com
 Status:           No Feedback
 Bug Type:         IIS related
 Operating System: Windows XP
 PHP Version:      4.3.2
 New Comment:

I am getting the same error using 

<?
print system('%COMSPEC% /c ver');
?>

"Warning: system(): Unable to fork [%COMSPEC% /c ver] in"...

PHP Version 4.3.2

System  Windows NT QUARTZ 5.2 build 3790
Build Date      May 28 2003 15:06:05
Server API      CGI/FastCGI
Virtual Directory Support       enabled
Configuration File (php.ini) Path       C:\WINDOWS\php.ini


this is with a hosting company.  Is there another solution to running a
program (imagemagick)?


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

[2003-08-06 11:05:14] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.



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

[2003-07-29 15:21:57] [EMAIL PROTECTED]

Hi,

<?
print system('%COMSPEC% /c ver');
?>

should work on Windows systems anywhere.

Please could you try that and confirm if it's still giving the same
error message?

PHP Folks: if it does, we could have the return of an ancient
popen/exec issue .. but it's working fine on win9x..

?


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

[2003-06-10 09:24:47] abramov at fromru dot com

php -v :
PHP 4.3.2 (cgi-fcgi), Copyright (c) 1997-2003 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies

phpinfo():
PHP Version 4.3.2
Server API : CGI/FastCGI 
GATEWAY_INTERFACE : CGI/1.1 

etc.

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

[2003-06-10 08:03:06] [EMAIL PROTECTED]

And what does 'php -v' output?
And what does phpinfo() has to say about the php version
under IIS?


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

[2003-06-10 07:01:26] abramov at fromru dot com

Web-server: IIS 5
Both CGI and ISAPI installations produced following bug:

Code:
<?
print system('cmd ver');
?>

Result:
system(): Unable to fork 

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


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

Reply via email to