PHP 제한을 높인 후에도 Wordpress 업로드 파일 크기 오류

PHP 제한을 높인 후에도 Wordpress 업로드 파일 크기 오류

'업로드된 파일이 php.ini의 uploadmaxfilesize 지시문을 초과합니다.'라는 메시지가 나타납니다. 5.1MB에 불과한 플러그인을 업로드하는 중 오류가 발생했습니다. php.ini 파일과 webmin을 통해 제한을 높였습니다.

이것은 내 php.ini 파일입니다.

max_input_time = 24000
max_execution_time = 24000
upload_max_filesize = 12000M
post_max_size = 24000M
memory_limit = 12000M

여기 내 nginx.conf 파일이 있습니다. 또한 서버 및 http에서 clientmaxbody_size를 늘렸습니다.

user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log;
pid /run/nginx.pid;

# Load dynamic modules. See /usr/share/nginx/README.dynamic.
include /usr/share/nginx/modules/*.conf;

events {
worker_connections 1024;
}

http {
client_max_body_size 24000M;
log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                  '$status $body_bytes_sent "$http_referer" '
                  '"$http_user_agent" "$http_x_forwarded_for"';

access_log  /var/log/nginx/access.log  main;
.........
server_names_hash_bucket_size 128;
server {
    client_max_body_size 24000M;
    server_name mydomain.com www.mydomain.com;
 .....

관련 정보