When using a php crawler, you must use the cli environment
I checked the current php version information as follows:
I print PHP_SAPI
show fpm-fcgi
How to become cli
The server environment is linux+nginx
Supplement: Can I understand that cli must be in command line mode?
Just tested PHP_SAPI
in the command line and output cli
Question: Can http simulation call be implemented to implement cli