How to increase Maximum Upload size in cPanel?

前端 未结 12 2195
暖寄归人
暖寄归人 2020-12-14 08:49

I am using cPanel of my website to increase maximum upload file size for wordpress media uploads. I have used the codes(found out from google) for this purpose wp-config.php

12条回答
  •  没有蜡笔的小新
    2020-12-14 09:26

    The solution is to create the php.ini file under your root directory. If the site is the wordpress installation then create the php.ini under your/path/to/wordpress/wp-admin/php.ini and add the following line of codes

    [PHP]
    post_max_size=120M
    upload_max_filesize=132M
    

提交回复
热议问题