php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64210 php -l & not killed ky SIGTERM
Submitted: 2013-02-14 10:51 UTC Modified: 2013-02-14 14:17 UTC
From: ep at numlog dot fr Assigned:
Status: Open Package: *General Issues
PHP Version: 5.3.21 OS: linux mint
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2013-02-14 10:51 UTC] ep at numlog dot fr
Description:
------------
$> php -l &
$>  ps -edf | grep php
eric     13374  8672  0 11:38 pts/1    00:00:00 php -l

$> kill 13374
$>  ps -edf | grep php
eric     13374  8672  0 11:38 pts/1    00:00:00 php -l

$> kill -9 13374
$>  ps -edf | grep php



Test script:
---------------
When php -l is put as background process without any file to lint,
php does not catch SIGTERM and must be kill rougly with kill -9 .


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-02-14 14:17 UTC] ep at numlog dot fr
$> php -l &
[3] 17456
$> kill %              <-- works !

And 

$> php -l &
[4] 14304
$> fg
php -l
Complété    <- Works when 14304 killed from another shell
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Aug 14 20:01:24 2020 UTC