移动php.ini
#cp /usr/local/php-5.3.8/php.ini-development /usr/local/php/lib/php.ini

关于php-fpm
php5.3.8默认包含php-fpm,

php-fpm的配置文件php-fpm.conf在/usr/local/php/etc <========当然要看你装php到了那里
php-fpm.conf的文件名这里为php-fpm.conf.default
#cp php-fpm.conf.default php-fpm.conf <========复制一份并重命名

php-fpm在/usr/local/php/sbin/下
#/usr/local/php/sbin/php-fpm ========启动php-fpm
启动错误解决:
ALERT: [pool www] pm.min_spare_servers(0) must be a positive value
编辑php-fpm.conf找到pm.min_spare_servers 去除;号,注意非注释内容pm.min_spare_servers
ALERT: [pool www] pm.max_spare_servers(0) must be a positive value
编辑php-fpm.conf找到pm.max_spare_servers 去除;号,同样非注释内容pm.max_spare_servers
WARNING: [pool www] pm.start_servers is not set. It's been set to 20.
编辑php-fpm.conf找到pm.start_servers 去除;号,同样非注释内容pm.start_servers
ERROR: bind() for address '127.0.0.1:9000' failed: Address already in use (98)
# netstat -ntlpps -ef|grep php查看进程,有N多进程
nobody 26152 26151 0 15:45 ? 00:00:00 php-fpm: pool www 
nobody 26153 26151 0 15:45 ? 00:00:00 php-fpm: pool www 
nobody 26154 26151 0 15:45 ? 00:00:00 php-fpm: pool www 
nobody 26155 26151 0 15:45 ? 00:00:00 php-fpm: pool www
...........................
#killall php-fpm 结束所有php-fpm进程
再启动php-fpm
#/usr/local/php/sbin/php-fpm
成功