我正在使用IIS服务器,并且已经在我的PHP.ini文件中进行了更改。但是仍然面临着同样的问题。
答案 0 :(得分:1)
您可以尝试使用wp-config文件
@ini_set( 'upload_max_size' , '20M' );
@ini_set( 'post_max_size', '13M');
@ini_set( 'memory_limit', '15M' );
有关更多详细信息,请点击https://www.cloudways.com/blog/increase-media-file-maximum-upload-size-in-wordpress/
答案 1 :(得分:0)
you can create php.ini file in wp_admin folder in root wordpress directory
open php.ini and override these values
1- upload max size
2- post max size
3- max execution time
now php.ini file looks like that
upload_max_filesize = 128M
post_max_size = 128M
max_execution_time = 180