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.
Compare:
http://clio.su/test.php vs.
http://clio.su:8080/test.php (the parameter
upload_max_filesize to test in php.ini exhibited 4M .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.
PS: 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