• Runing localhost instalation, MAMP, php 7.0.0

    I ran into problems regarding the upload limit size – i tried configuring it in php.ini, in .htaccess, settings.php and functions.php (child theme). Nothing seems to work since my media uploader still tries to tell me, that my upload limit is 1 MB (see here), on the other hand I use the Retina plugin, which actually says my upload size limit is 67 MB (see here).

    What am I missing? Any help will be most welcome!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    You need to set the value of upload_max_filesize and post_max_size in your php.ini :

    ; Maximum allowed size for uploaded files.
    upload_max_filesize = 40M
    
    ; Must be greater than or equal to upload_max_filesize
    post_max_size = 40M

    After modifying php.ini file(s), you need to restart your HTTP server to use new configuration.

    Thread Starter ceciliann_

    (@ceciliann_)

    Thanks for your answer, unfortunately it doesn’t solve my problem.

    As I said, this has already been done and one of the plugins recognises this (so it says my limit is 67 MB), but the media uploader doesn’t.

    I already tried modifying:
    – php.ini (several of them, including doing the info.php and finding out which php.ini is the one to be modified)
    – .htaccess
    – settings.php
    – functions.php

    Can there be somewhere in the theme, that is causing this? I’m using Fortuna by Blue Owl.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Localhost media upload size limit problems’ is closed to new replies.