How php-fpm commands to execute server.php on centos

1. I installed workerman on the server (copy from window local to centos server directly), window local launch workerman directly cmd input php server.php, to start server.php.
but the PHP on the centos server is executed directly with php-fpm,. Php-fpm server.php cannot be executed. How can I start server.php?
Note: server.php is the startup file of wokerman;

clipboard.png

Php
Sep.27,2021

php server.php

execute in command line mode, that is, the so-called CLI mode
if you install yum, you can directly use php server.php
if you install it yourself, the php executable file is the bin/php under your installed php directory that uses the absolute path server.php to execute


I suggest the subject first find out what php-fpm is. Php-fpm is the process manager of fast-cgi, which is the process that implements fast-cgi 's protocol. The ones that usually interact with it, such as nginx, communicate with it through socket, and then interact with its process data through the fast-cgi interface. In the case mentioned by the subject, we should use the command line mode of php, that is, php-cli mode, which is our commonly used command php XXX.php

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36004-40567.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36004-40567.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?