For change upload limit for php, you have to change upload_max_filesize, memory_limit and post_max_size parameters in php.ini (/etc/php.ini - linux) then restart apache server (service httpd restart).

someone said that post_max_size and memory_limit need to be larger than upload_max_filesize.

Today i testing moodle on my server and try to upload video file about 200MB.

For change upload file size i have to change upload_max_filesize and post_max_size on php.ini.

After that I try to upload avi file and get error and cant login to moodle anymore so i think it has something wrong about session.

after searching ppl say that have to change dbsession in mdl_config table so i try to change it in mysql database but i get error "You probably tried to upload too large file. Please refer to documentation for ways to workaround this limit."

The reason of error is i wrong config in php.ini that i should change 3 parameters upload_max_filesize, post_max_size and memory_limit , so when i change all of parameters my moodle system working fine.

Today I will test buddypress on WP 3.0 so I install new WP and buddypress on my localhost testing system, after finish install i get HTTP ERROR 404 NOT FOUND so I searching for the solution.

In my case, fix it by:

change http.conf to use mod rewrite by uncomment line

#LoadModule rewrite_module modules/mod_rewrite.so

then change "AllowOverride None" to "AllowOverride All"

# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride All


after change apache config you have to restart apache.. done


another reason that may happen is wordpress can't write .htaccess in wordpress directory when you change permalink in wordpress setting

solution is change .htaccess file permission from 644 to 666 then change permalink setting from wordpress dashboard, after that change file permission back to 644.

wordpress will write new access rule to .htaccess according to your setting correctly



................................