这厮

observing

  BlogJava :: 首页 :: 联系 :: 聚合  :: 管理
  48 Posts :: 3 Stories :: 3 Comments :: 0 Trackbacks

2013年8月7日 #

I had the same problem, and I solved it.

if you are using wamp for your localhost then click on the wamp green icon that is running and press on PHP directory, then you will see php.ini file

if you dont use wamp software, then just find the php.ini file and open it. and search for upload_max_filesize. you should find rows like the bellow one:

; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
upload_max_filesize = 2M

by default the upload_max_filesize is 2 megabyte. Just simply change it to
upload_max_filesize = 200M (200 megabyte)

then save your php.ini file and restart your services and it will work without any diverticulitis :) 

posted @ 2013-08-07 11:32 cnbarry 阅读(1921) | 评论 (0)编辑 收藏