Home >Backend Development >PHP Tutorial >php-cli given php-fpm's php.ini

php-cli given php-fpm's php.ini

不言
不言Original
2018-05-02 15:16:172536browse

This article mainly introduces php.ini about php-cli and php-fpm, which has certain reference value. Now I share it with you. Friends in need can refer to it

1. php- cli and php-fpm may have different php.ini

2. To keep a consistent php.ini, do the following

#Search the php.ini directory of php-cli

jack # php -i | grep php.ini

#Open the browser to view the php.ini location of phpinfo

Then copy and paste the same file in two different locations. This maintains consistency

The above is the detailed content of php-cli given php-fpm's php.ini. For more information, please follow other related articles on the PHP Chinese website!

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