{"id":142,"date":"2018-04-09T19:42:08","date_gmt":"2018-04-09T19:42:08","guid":{"rendered":"https:\/\/vapourhost.com\/docs\/?p=142"},"modified":"2018-04-09T19:44:06","modified_gmt":"2018-04-09T19:44:06","slug":"change-php-upload-max-filesize-from-cpanel","status":"publish","type":"post","link":"https:\/\/vapourhost.com\/docs\/change-php-upload-max-filesize-from-cpanel\/","title":{"rendered":"How to change php upload_max_filesize from cPanel?"},"content":{"rendered":"<p>upload_max_filesize is one of most common php settings that you may need to modify. Lucky for you, we allow modifying such settings in our shared hosting plans. Here are the steps for the same:<\/p>\n<h4>Step #1: Login to cPanel<\/h4>\n<p>You can login to cPanel using our clientarea from service page or using cpanel username and password from login page.<\/p>\n<h4>Step #2: Navigate to &#8220;Select PHP Version&#8221; under Software Group<\/h4>\n<p><img loading=\"lazy\" class=\"size-full wp-image-31 aligncenter\" src=\"https:\/\/vapourhost.com\/docs\/wp-content\/uploads\/2018\/01\/Select-PHP-version.jpg\" alt=\"\" width=\"959\" height=\"254\" srcset=\"https:\/\/vapourhost.com\/docs\/wp-content\/uploads\/2018\/01\/Select-PHP-version.jpg 959w, https:\/\/vapourhost.com\/docs\/wp-content\/uploads\/2018\/01\/Select-PHP-version-300x79.jpg 300w, https:\/\/vapourhost.com\/docs\/wp-content\/uploads\/2018\/01\/Select-PHP-version-768x203.jpg 768w, https:\/\/vapourhost.com\/docs\/wp-content\/uploads\/2018\/01\/Select-PHP-version-700x185.jpg 700w\" sizes=\"(max-width: 959px) 100vw, 959px\" \/><\/p>\n<h4>Step #3: Select PHP Version (Conditional)<\/h4>\n<p>You may notice that current php version is named as &#8220;Native x.y&#8221; mostly 5.6. In this case, you need to select another version from dropdown which is not native one. For compatibility, select the same version as current but without native tag.<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-143 aligncenter\" src=\"https:\/\/vapourhost.com\/docs\/wp-content\/uploads\/2018\/04\/Native-PHP-version-in-cPanel.png\" alt=\"Native PHP version in cPanel\" width=\"762\" height=\"174\" srcset=\"https:\/\/vapourhost.com\/docs\/wp-content\/uploads\/2018\/04\/Native-PHP-version-in-cPanel.png 762w, https:\/\/vapourhost.com\/docs\/wp-content\/uploads\/2018\/04\/Native-PHP-version-in-cPanel-300x69.png 300w, https:\/\/vapourhost.com\/docs\/wp-content\/uploads\/2018\/04\/Native-PHP-version-in-cPanel-700x160.png 700w\" sizes=\"(max-width: 762px) 100vw, 762px\" \/><\/p>\n<p>Select preferred version from dropdown. For complete guide, see <a href=\"https:\/\/vapourhost.com\/docs\/how-to-change-php-version-from-cpanel\/\">How to change PHP version from cPanel?<\/a><\/p>\n<h4>Step #4: Switch to PHP Options<\/h4>\n<h4><img loading=\"lazy\" class=\"size-full wp-image-144 aligncenter\" src=\"https:\/\/vapourhost.com\/docs\/wp-content\/uploads\/2018\/04\/Switch-to-PHP-Options-in-cPanel.png\" alt=\"Switch to PHP Options in cPanel\" width=\"1193\" height=\"305\" srcset=\"https:\/\/vapourhost.com\/docs\/wp-content\/uploads\/2018\/04\/Switch-to-PHP-Options-in-cPanel.png 1193w, https:\/\/vapourhost.com\/docs\/wp-content\/uploads\/2018\/04\/Switch-to-PHP-Options-in-cPanel-300x77.png 300w, https:\/\/vapourhost.com\/docs\/wp-content\/uploads\/2018\/04\/Switch-to-PHP-Options-in-cPanel-768x196.png 768w, https:\/\/vapourhost.com\/docs\/wp-content\/uploads\/2018\/04\/Switch-to-PHP-Options-in-cPanel-1024x262.png 1024w, https:\/\/vapourhost.com\/docs\/wp-content\/uploads\/2018\/04\/Switch-to-PHP-Options-in-cPanel-700x179.png 700w\" sizes=\"(max-width: 1193px) 100vw, 1193px\" \/><\/h4>\n<h4>Step #5: Make required changes<\/h4>\n<p><img loading=\"lazy\" class=\"size-full wp-image-145 aligncenter\" src=\"https:\/\/vapourhost.com\/docs\/wp-content\/uploads\/2018\/04\/PHP-Options-in-cPanel.png\" alt=\"PHP Options in cPanel\" width=\"836\" height=\"395\" srcset=\"https:\/\/vapourhost.com\/docs\/wp-content\/uploads\/2018\/04\/PHP-Options-in-cPanel.png 836w, https:\/\/vapourhost.com\/docs\/wp-content\/uploads\/2018\/04\/PHP-Options-in-cPanel-300x142.png 300w, https:\/\/vapourhost.com\/docs\/wp-content\/uploads\/2018\/04\/PHP-Options-in-cPanel-768x363.png 768w, https:\/\/vapourhost.com\/docs\/wp-content\/uploads\/2018\/04\/PHP-Options-in-cPanel-423x200.png 423w\" sizes=\"(max-width: 836px) 100vw, 836px\" \/><\/p>\n<p>On this page, you need to modify two settings. If you want to set upload limit to 32 MB, set<\/p>\n<p style=\"padding-left: 30px;\">post_max_size to 16M<\/p>\n<p style=\"padding-left: 30px;\">upload_max_filesize to 16MB<\/p>\n<h4>Step #6: Click Save<\/h4>\n<p>Done. Once you click save, it&#8217;ll update required files to make required changes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>upload_max_filesize is one of most common php settings that you may need to modify. Lucky for you, we allow modifying such settings in our shared hosting plans. Here are the steps for the same: Step #1: Login to cPanel You can login to cPanel using our clientarea from service page or using cpanel username and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[11,2],"tags":[],"_links":{"self":[{"href":"https:\/\/vapourhost.com\/docs\/wp-json\/wp\/v2\/posts\/142"}],"collection":[{"href":"https:\/\/vapourhost.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vapourhost.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vapourhost.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vapourhost.com\/docs\/wp-json\/wp\/v2\/comments?post=142"}],"version-history":[{"count":5,"href":"https:\/\/vapourhost.com\/docs\/wp-json\/wp\/v2\/posts\/142\/revisions"}],"predecessor-version":[{"id":150,"href":"https:\/\/vapourhost.com\/docs\/wp-json\/wp\/v2\/posts\/142\/revisions\/150"}],"wp:attachment":[{"href":"https:\/\/vapourhost.com\/docs\/wp-json\/wp\/v2\/media?parent=142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vapourhost.com\/docs\/wp-json\/wp\/v2\/categories?post=142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vapourhost.com\/docs\/wp-json\/wp\/v2\/tags?post=142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}