php5.3.3 before PHP-FPM has not been included in PHP, configure PHP basic php.ini inside, php5.3.3 and later, in addition to php.ini configuration, can also be configured in the php-fpm.conf.
Multiple places can be configured, there is a priority. Php-fpm.conf priority is higher than php.ini.
1, modify/etc/php-fpm.conf, or,/etc/php-fpm.d/*.conf, or,/usr/local/php/etc/php-fpm.conf
; Set session path to a directory owned by process user
;p Hp_value[session.save_handler] = files
;p hp_value[session . save_path] =/var/lib/php/session
Php_value[session.save_handler] = Redis
Php_value[session.save_path] = " tcp://127.0.0.1:6379 "
If the php-fpm.conf is set to Save_handler, then php.ini configuration will not work.
2,PHP-FPM becomes a built-in process
[root@localhost workspace]# php-fpm-v
php 5.3.3 (fpm-fcgi) (Built:dec 2013 03:32:01)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
[root@localhost workspace]#-Php-cgi-v
PHP 5.3.3 (cgi-fcgi) (Built:dec 2013 03:28:11)
Copyright (c) 1997-2010 the PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend