Sep 11 2015

How to Increase the Maximum File Upload Size in WordPress

Last updated on by


Depending on the web hosting company you choose and the package you select, each of you will see maximum file upload limit on your Media Uploader page in WordPress. For some it is as low as 2MB which is clearly not enough for media files like (audio / video). Most pictures are under 2MB, so it is fine for just pictures. In this article, we will show you how to increase the maximum file upload size in WordPress.

Media File Size Limit

Note: This is an intermediate level tutorial. It may not work with some shared hosts in which case you would have to ask your hosting service provider for support. We use HostGator, and they are more than helpful when it comes to issues like this.


1: Theme Functions File

There are cases where we have seen that just by adding the following code in the theme function’s file, you can increase the upload size:

1 @ini_set( 'upload_max_size', '64M');
2 @ini_set( 'post_max_size', '64M');
3 @ini_set( 'max_execution_time', '300');

2. Create or Edit an existing PHP.INI file

In most cases if you are on a shared host, you will not see a php.ini file in your directory. If you do not see one, then create a file called php.ini and upload it in the root folder. In that file add the following code:

1 upload_max_filesize = 64M
2 post_max_size = 64M
3 max_execution_time = 300

This method is reported to work for many users. Remember if 64 doesn’t work. Try 10MB (sometimes that work).

3. htaccess Method

Some people have tried using the htaccess method where by modifying the .htaccess file in the root directory, you can increase the maximum upload size in WordPress. Open or create the .htaccess file in the root folder and add the following code:

1 php_value upload_max_filesize 64M
2 php_value post_max_size 64M
3 php_value max_execution_time 300
4 php_value max_input_time 300

Again, it is important that we emphasize that if you are on a shared hosting package, then these techniques may not work. In that case, you would have to contact your web hosting provider to increase the limit for you. Some hosts completely turn down their users. We recommend that you use HostGator. Their support folks are very helpful in these situations.

From :

Read the rest of this entry »

Permanent link to this article:

May 27 2015

10 open source e-learning projects to watch


Source :


As corporate and government organizations embrace the Web for delivering more education and training programs, a wealth of free and open source e-learning applications will help lower the barrier to entry. TechWorld looks at the options.


ATutor is a Web-based learning content management system (LCMS) designed for accessibility and adaptability by the Adaptive Technology Resource Centre at the University of Toronto. ATutor claims to be modular for new looks and functionality.

Like Moodle, ATutor is a PHP application with some 25,000 registered installations. With ATutor instructors and students can manage the courses they teach or are enrolled in, send messages to other participants, create workgroups and collaborate on courses, blog, share and track content, and store files among other things.

Web site:
Licence: GPL
Commercial support: Project home
Developed with: PHP

Read the rest of this entry »

Permanent link to this article:

Older posts «