• Check out this screenshot:

    https://sc-cdn.scaleengine.net/i/79eab08ed598725dddc2aedba50e4295.png

    It says I’ve got 88MB set, yet won’t allow anything to be uploaded. What gives?

    PHP 7.0, nginx, php-fpm, redis

    I have 3 separate php.ini, all have bumped up memory profiles in POST, upload, and script size. This is also a localhost dev environment, on ubuntu 16.04 beta1.

    Never used redis before, everywhere I checked it said there was no need to configure it. In fact it shows the service stopped right now. Could this be the issue?

    I set file and folder permissions 644, 755 chown to www-data as specified in nginx.conf

    Filezilla will allow upload via sftp, but I can’t get anything to upload in wordpress :/ Even the theme updater for divi works okay. It’s just this one function. I can get by with sftp, but that’ll be annoying to continuously do this for new media.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Have you restarted (or reloaded config for) the web service, sometimes that is required to accept a php.ini change.

    I’m not a guru on php-fpm but I’ve seen solutions where people edit php-fpm.conf (instead of php.ini) and add entry to set memory limits:

    php_admin_value[upload_max_filesize] = 100M
    php_admin_value[post_max_size] = 100M

    I’ve also seen where nginx config requires something for client_max_body size
    http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size

    Thread Starter webeindustry

    (@webeindustry)

    Oh hey yea I restarted nginx dozens of times, but didn’t come across the php_admin_value of php-fpm.conf

    Thanks! I’ll try this after getting nodeb setup…

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘upload_max_filesize Not working’ is closed to new replies.