Edit report at https://bugs.php.net/bug.php?id=60185&edit=1

 ID:                 60185
 User updated by:    s dot vijayarangan at gmail dot com
 Reported by:        s dot vijayarangan at gmail dot com
 Summary:            Unable to send the process to background, In PHP CLI
                     mode,
 Status:             Open
 Type:               Bug
-Package:            *General Issues
+Package:            CGI/CLI related
 Operating System:   Cent OS 6 (64bit)
 PHP Version:        5.3.8
 Block user comment: N
 Private report:     N

 New Comment:

Update package


Previous Comments:
------------------------------------------------------------------------
[2011-11-01 10:05:59] s dot vijayarangan at gmail dot com

Description:
------------
In centos running as 
/usr/bin/php /tmp/test.php & 

will make the process running in background. It's all working in 5.2.16 but in 
5.3.8, it's not working.

It says 

[1]+  Stopped        php /tmp/test.php

But it's running properly without &



Test script:
---------------
<?php
$test = true;
$i =0;
while($test)
{
  if($i++ > 10)
  $test = false;
  echo 'test';
  sleep(1);
}
?>

Expected result:
----------------
The program must run in a background.



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



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

Reply via email to