I have NGINX server with FASTCGI php-fpm 127.0.0.1:9000 which php.ini is under /etc/php5/fpm/php.ini
I increased upload_max_filesize and post_max_size in php.ini
The Fastcgi params is like this
fastcgi_param PHP_VALUE "upload_max_filesize = 200M post_max_size=200M"
I even increased client_max_body_size in nginx.conf file.
but on every file upload even less than 1mb, i get max size exceed!
any ideas please
Best Answer
Finally i found the solution.
The problem was about Fastcgi_param in nginx.conf file.
it was about a \n between two PHP_VALUE and the right expression is like this: