• Hi team,

    I have installed one themeforest theme and the theme asking me to allow more memory limit to install sample data.

    I follow guidelines below link to update memory limit with new value.

    https://codex.ww.wp.xz.cn/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

    But, I have no luck to update memory limit. Then suddenly, I found one link (http://wordpress.stackexchange.com/questions/3305/how-to-use-more-than-256mb-of-memory-in-the-admin) and that link mentioned as WordPress hardcoded that memory limit.

    I have updated that value with wp-includes files and it’s working nice.

    I know that is not a nice way to do that thing but I have to go with that step. Can you guys please check that condition with your multisite setup?

    My Xampp Environment
    ====================
    xampp version : 7.0.9

    Web server information
    ======================
    Apache/2.4.23 (Unix) OpenSSL/1.0.2h PHP/7.0.9 mod_perl/2.0.8-dev Perl/v5.16.3
    Database client version: libmysql – mysqlnd 5.0.12-dev – 20150407 – $Id: 241ae00989d1995ffcbbf63d579943635faf9972 $
    PHP extension: mysqli Documentation
    PHP version: 7.0.9

    phpMyAdmin information
    ======================
    Version information: 4.5.2

    Let me know if you required more details from my side to resolve this issue.

Viewing 1 replies (of 1 total)
  • Hello

    You are running PHP 7, I don’t think you need to up the memory limits.

    However, you can do a small test to check your current pho memory limit.

    create a new text document on your desktop

    Then add the following line to it

    <?php
    phpinfo();
    ?>

    Then save the file with this exact name

    info.php.

    Then upload this file to the root directory of your domain using FTP.

    Once that’s done,

    Go to the following link

    https://youramazingwebsite.com/info.php

    This will open the file you uploaded and it will then give you all the php info…including memory limit.

    If you are not satisfied with the limit and want to increase it

    You will then have to create another file just like the one you made before.

    The name of the file will have to be

    php.ini

    and the code you need to put in there is as follows =

    memory="your desired memory allocation goes herer"MB

    So the end result would look like this example

    memory=1024MB

    Then you save that file, and upload it using FTP to you root folder.

    That should increase your memory limit.

    Once you’re done and everything is working well….don’t forget to delete the first file you made

    the info.php file

    Hope this helps.

    (This was written in a rush so excuse the typos and any formatting / comprehensiveness issues)

Viewing 1 replies (of 1 total)

The topic ‘Memory limit not changing with Multisite’ is closed to new replies.