[B] Now I use the development environment is windows8.1 under nginx+php5.5, the integration environment is phpstorm8.02, the problem is as follows:
I am learning php file upload when I found that the file I uploaded to 50k, whether it is a text file or a picture, less than 50k can upload normally, more than 50k,$_files["Fllename" ["Error"] is equal to 3, my last officer net check the error code means "Upload_err_partial, files are only partially uploaded". Online is to explain the error code what the meaning of, but no one said how to solve the various possible solutions have been tried, php.ini inside the configuration is certainly correct, the time-out settings to 600s,upload_max_filesize has been changed to 100m,post_max_ Size to 100M do not work, I am sure it has been effective, but it seems not working, NGINX-CONF also modified no matter what the use, what Gzip,limit () have tried, really do not know how to do, please almighty God tell me in the end where there may be a problem??? It's so bad that I can't find a clue ...
Reply to discussion (solution)
You check if the actual available memory and disk quotas are sufficient
Hello, you said the actual available memory is the Memory_limit value in php.ini, I have set to 128M, or other memory settings? Disk quotas where is this set? Thank you
You check if the actual available memory and disk quotas are sufficient
Hello, you said the actual available memory is the Memory_limit value in php.ini, I have set to 128M, or other memory settings? Disk quotas where is this set? Thank you
Please change the php.ini file, there is no restart, no restart is not effective.
Please change the php.ini file, there is no restart, no restart is not effective.
This, I restart every time, and even the computer has restarted all useless, phpinfo () show I have been modified successfully, and I changed it to work, such as I limit to 10k, then I can only pass 10k, indicating that my settings should be no problem. Then I changed to 100M, but still the largest only 50K, so I think it should be other where the limit of the size, but I just can't find where the limit is ...
PHP.ini is set to the maximum amount of memory used, does not mean that you actually can use so many
The actual amount of memory that can be used is determined by the hardware and the operating system
PHP.ini is set to the maximum amount of memory used, does not mean that you actually can use so many
The actual amount of memory that can be used is determined by the hardware and the operating system
So I probably understand, but I passed a 50k is limited, this is too small, this is the current memory usage, I can not find exactly where to limit this value
Great God! Warrior! Help me!!!!!!
There are some wooden people ...
Phpstorm have this bug, do not know on other platforms have no, if you do not set separately, each open file will automatically add: 63342 port, using the Phpstorm built-in Web server opened, may be this built-in server to upload files are limited, in the tools- >deployment->configuration, the problem is resolved by changing the port to the Nginx 80 port.