Deployed on the server classic bunch of the Apache:8080+Nginx:80+FastCGI. In php when you access the scripts through port 80 no longer see your settings (load default). I tried to set the settings via php_value in .htaccess — still they focus not see.
And through 8080 port all settings are normally tightened.
(the parameter upload_max_filesize
to test in php.ini 4M exhibited, in .htaccess 8M, default 2M)
What you need to correct in nginx.conf (httpd.conf) to php.ini also participated in the work of the ligaments using fastcgi? I feel that it solves the problem elegantly, but shoveled Yandex, I haven't found a solution.
And still a passing question, too, is associated with the fastcgi. When using the php mail() function all mail is now sent with the field FROM: ... and therefore zarulivaet postal service because of invalid addresses. Php variable sendmail_from is not applied.
UPD: a Little clarification. We spawn_fcgi