How to increase Maximum Upload size in cPanel?

前端 未结 12 2157
暖寄归人
暖寄归人 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:32

    Since there is no php.ini file in your /public_html directory......create a new file as phpinfo.php in /public_html directory

    -Type this code in phpinfo.php and save it:

    -Then type yourdomain.com/phpinfo.php...you will see all the details of your configuration

    -To edit that config, create another file as php.ini in /public_html directory and paste this code: memory_limit=512M
    post_max_size=200M
    upload_max_filesize=200M

    -And then refresh yourdomain.com/phpinfo.php and see the changes,it will be done.

提交回复
热议问题