Home >Backend Development >PHP Tutorial >虚机上传文件2M限制,无php.ini权限,php_value upload_max_filesize命令也被禁用

虚机上传文件2M限制,无php.ini权限,php_value upload_max_filesize命令也被禁用

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-06 20:38:45964browse

如题,linux虚拟主机,上传文件大小已被限制为2M无法修改,怎么破?
没有修改php.ini的权限,且在.htaccess中用php_value upload_max_filesize,php_value post_max_size等命令已被禁,但.htaccess文件还可以正常用。

回复内容:

如题,linux虚拟主机,上传文件大小已被限制为2M无法修改,怎么破?
没有修改php.ini的权限,且在.htaccess中用php_value upload_max_filesize,php_value post_max_size等命令已被禁,但.htaccess文件还可以正常用。

分段上传

以下是补码

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn