欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

西部数码修改 (其实在其它的电脑上也是通用的) /www/wdlinux/apache_php-5.2.17/etc/php.ini

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 不能达到 2048M
The first things to check (or ask your host provider to check) are the values of upload_max_filesizememory_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 

   

普通分类: