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!