Home >Backend Development >PHP Tutorial >How to use fpm in php

How to use fpm in php

WBOY
WBOYOriginal
2016-10-09 08:32:27940browse

When using a php crawler, you must use the cli environment
I checked the current php version information as follows:

How to use fpm in php

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

Statement:
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