Open /etc/lighttd/lighttpd.conf change the following parameters :
server.max-request-size=100000000 # or whatever you want max file size to beMake sure the upload directory is exist and writable.
server.upload-dirs=( "/mnt" ) # location to place the uploaded file
# probably should be the same as php.ini
server.network-backend="write" # this one was the key one for me
if the value of "write" doesn't work, try "writev".
server.network-backend="write" or server.network-backend="writev"
Done.
1 comments:
Thanks, your post helped me fix the problem. I had to use writev in my case and uploads worked nicely.
Post a Comment