PHP7 Wordpress 解除上传文件限制

PHP7 Wordpress 解除上传文件限制

三步完成上传限制修改

  1. php.ini file

    1. upload_max_filesize = 64M

    2. post_max_size = 64M

    3. upload_max_filesize and post_max_size must modify same number

  2. Nginx file

    1. client_max_body_size 64M;

Three way modify upload limit:

  1. Set theme function file

  2. direct modify php.ini and nginx

  3. htaccess method

标签: none

添加新评论