Server
nginx+PHP,,30M,2M
Local network
100M3-4M,KbKB
PHP code for receiving uploaded files:
$post_data = file_get_contents("php://input");
nginx+PHP,,30M,2M
100M3-4M,KbKB
$post_data = file_get_contents("php://input");
Why should I use file_get_contents? No frame? Then upload directly with the html form, and use $_ FILES in the background to see how fast it is
this is generally a bandwidth problem, because NGINX is received at one time before it is given to php-fpm, so it will not cause blocking of php. Just increase the bandwidth, either on the server side or on the client side.
Previous: Failed to share web page Wechat
1. Company development project online test, click on a page, first show the web page can not be displayed, and then jump to the target page, about 1.5 seconds test server used nginx, Baidu related problems, did not find an effective way, has appeared f...