You are here
西部数码修改 (其实在其它的电脑上也是通用的) /www/wdlinux/apache_php-5.2.17/etc/php.ini
星期四, 2015-08-06 10:43 — shiping1
php.ini中有两处要设定 upload_max_filesize post_max_size
把
upload_max_filesize=2048M把 post_max_size=2048M
时有问题 发现这个vps上所有网站 无法修改 ,无法登录
我把 post_max_size=2000M 时就好了
难道 这个vps 上 post_max_size 不能达到 2048MThe first things to check (or ask your host provider to check) are the values of upload_max_filesize, memory_limit and post_max_size in thephp.ini configuration file. All of these three settings limit the maximum size of data that can be submitted and handled by PHP. One user also said that post_max_size and memory_limit need to be larger than upload_max_filesize. There exist several workarounds if your upload is too big or your hosting provider is unwilling to change the settings:
这句话的意思 好像是说 upload_max_filesize 应该比 post_max_size and memory_limit 小 