cd /usr/local/lib
vi php.ini
max_execution_time = 0 默认是30秒,如果无限制,修改为0;
post_max_size = 208M 默认是32M,根据情况调整大小;
upload_max_filessize = 200M 默认是8M,根据情况调整。
最终上传文件大小限制是取决于upload_max_filesize,而且upload_max_filesize<post_max_size.
国外主机优惠码、促销,域名和CDN推荐。
cd /usr/local/lib
vi php.ini
max_execution_time = 0 默认是30秒,如果无限制,修改为0;
post_max_size = 208M 默认是32M,根据情况调整大小;
upload_max_filessize = 200M 默认是8M,根据情况调整。
最终上传文件大小限制是取决于upload_max_filesize,而且upload_max_filesize<post_max_size.