How to use fpm in php

WBOY
Release: 2016-10-09 08:32:27
Original
911 people have browsed it

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

Related labels:
php
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