Hello! I use nginx + php 5.4.7 + fpm + wordpress. I have a problem with configuration "upload_max_filesize" for php.ini. I wrote all parameters in php.ini, but its doesnt work. If i try to upload file, wordpress write me: "The uploaded file exceeds the upload_max_filesize directive in php.ini."
Igrep upload_max_filesize /usr/local/lib/php.ini
upload_max_filesize = 100M
grep post_max_size /usr/local/lib/php.ini
post_max_size = 100M
File that i try to upload = .zip file, size: 2,2 MB.
How i configure the php.ini?
php -i | grep php.ini
Configuration File (php.ini) Path => /usr/local/lib
Loaded Configuration File => /usr/local/lib/php.ini
I went to the /use/local/lib/ and not find the file php.ini. I did the copy of file php-development.ini from /root/php-5.4.7/ and put it to the /usr/local/lib, after that i rename it to php.ini (that succession was in guide, that i found in internet). After that, i opened the file and change pregnants:
upload_max_filesize = 100M
post_max_size = 100M
Thats all.
And yes, i restarted my server many times after that. The linode.com support coludnt find problem and adviced me to ask this question here. Who can help me?
