In today’s day and age people have become aware of the many innovations to society. One of these innovations that have brought great changes to how life is, is the internet.
There are many thing that the internet can do to people. One of these things is to build and develop websites. Now, this may not sound such as a phenomenal thing but it is. When people did know yet what a website can do or has the potential to do, only very few really gave it a thought. However, years later since the very first website, you can see thousands of them now and the number is still increasing.
Now in web building, one of the most essential elements that basically serves as the foundation of the site is the content management system (CMS). One of the many CMS out there that is very popular for starting up your very own website, whether for free or not, is WordPress.
How WordPress Works
WordPress is an open source tool that provides free web page production. It provides free hosting of your site where the domain is tied to WordPress. However, it also allows you to purchase your site once you have finished with the setting up. Once you buy your site, the domain now becomes solely yours.
In WordPress, you are provided with themes which are either free or not, widgets, plugins and all the other elements that will allow you to get started with your site. Once you have finished with prepping up your site, content is then added. Content here refers to the posts and other media output you incorporate in to your website.
How to increase Content capacity and File Upload Size
One of the many problems associated to open source website creation applications is that they are used by millions every day. Hence, they only provide limited upload space for media. These upload file sizes varies from host to host. Some provide only about 2 GB while some provide up to 8 GB or higher. Now, if you are having this problem, no worries because outlined below are three methods that you can use to increase that dismally small upload size.
Through the Theme Functions File
If you can or if the host of your site allows, you can increase your upload size limit through editing your functions.php file by adding the code below:
@ini_set( ‘upload_max_size’ , ’64M’ );
@ini_set( ‘post_max_size’, ’64M’ );
@ini_set( ‘max_execution_time’, ‘300’ );
Once you have added the code, you can view the result by going back to the upload page of your media and see the change. If you there is no change, refresh the page. After, you will be able to see the change in the upload size.
Through editing an existing PHP.INI file or creating one
Another method that you can use is to edit your upload limit is to edit your php.ini file. However, if you are using a shared host like most of the websites today, you will be able to see the php.ini file. If this is your case, you can just create a php.ini file and add in the following code:
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300
Once you have added or edited the code, upload your php.ini file to the root folder. Then, view your upload limit at your media upload page.
However, if you have a preexisting pph.ini file, you can just look for the following code and change the values to much like the ones when you create your own php.ini file.
Sometimes the value of 64M does not really cut it so if it did not work, change it to 10M.
Through the htaccess method
Some people also use their .htaccess file which can be found in your root folder. Look for it and open it. Once open, you add the following code to the preexisting ones:
php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300
Like the php.ini file, editing your .htaccess file may not work, especially if you are using a shared host or if your host do not allow you to edit the file.
If the methods don’t work
If the above three method do not work, you will have to contact your host provider and request an increase in your upload size limit. This still depends on your host because there are some that do not allow any increase in the upload size limit.