Home > Operation and Maintenance > Linux Operation and Maintenance > How to stop php script in linux

How to stop php script in linux

藏色散人
Release: 2020-07-21 11:10:05
Original
4678 people have browsed it

How to stop php in Linux: First execute the command "sudo ps -ef|grep php" in the background; then execute the command "sudo kill -9 pid" or "sudo kill -15 pid" to close the executing command php script.

How to stop php script in linux

linux close the executing php script

1. If it is not executed in the background, just ctrl c to terminate the execution

2. If it is executed in the background

First execute: sudo ps -ef|grep php

Execute again: sudo kill -9 pid or sudo kill -15 pid

pid is the process number detected by the ps command.

Recommended: "linux tutorial"

The above is the detailed content of How to stop php script in linux. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template