Home > Article > Backend Development > php command line to build a temporary local server
This article mainly introduces the php command line to build a temporary local server. It has certain reference value. Now I share it with everyone. Friends in need can refer to it
php服务器 //搭建一个简易的后台运行本地服务器 nohup php -S 192.168.1.112:8888 & //搭建一个临时本地服务器 php -S 192.168.1.112:8888 //结束所有php进程,包括了新建的服务器进程 killall php //结束指定进程 kill -9 pid //显示Php进程信息 ps -ef|grep php sleep 2222; killall php &
Related recommendations:
Common commands under the php command line
Introduction to the php command line script receiving parameters
The above is the detailed content of php command line to build a temporary local server. For more information, please follow other related articles on the PHP Chinese website!