• Resolved yallaman

    (@yallaman)


    I’m new here. I wanted to try out WordPress and also join the community ??

    When I try to install WordPress 2.7 (with no plugins), I get this error message:

    Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 122880 bytes) in /usr/home/web/********/wp-admin/includes/template.php on line 2444

    Apparently, my web host (web10.nu) has a “php memory” limit of 16 MB, but it seems this isn’t enough for the installation. I’d be very interested to hear how much php memory the 2.7 installation requires? Can it really be more than 16 MB?

    PS: I can’t change the memory limit myself, so adding e.g. ini_set(‘memory_limit’,’32M’); in various php files won’t help. My Mac is tired of all the googling … ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • CodePoet

    (@design_dolphin)

    16 mb should be enough for a standard installation, or at least let me put it this way I have never had any problems with it with that amount of memory and installing and running a base install.

    Do you have anything else installed in the server space that could be causing the problem? (to rule out that possibility) The combination of multiple CMS’s could for example need more memory.

    Are you installing WordPress with something like Fantastico or manually?

    Thread Starter yallaman

    (@yallaman)

    Thanks for the information, design_dolphin.

    I only have a small, basic webpage (about 12 html files with text and pictures) with no fancy stuff like flash animations and things like that. There is also very little traffic on my site.

    I followed the instructions on codex.www.ads-software.com carefully and tried a manual install in a separate directory on my web site; I changed the name of the wordpress folder (originally “wordpress”) accordingly. The error message seems to indicate a memory problem, but it sounds strange …

    it seems to depend on host and server set up – plugins used, etc.
    my test blog is only using 8M, but when doing installs I’ve found (rather routinely lately) that on some hosts I need to bump php memory to 24M or 32M…sounds ridiculous I know, but…

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    samboll is correct, it very much depends on server specific things. 8M is usually enough, and on a default install of XAMPP with php set to 8M, WP installs fine.

    If your host offers a PHP5 option, try switching to that. That helps sometimes.

    Thread Starter yallaman

    (@yallaman)

    According to my host’s support pages, they use Apache servers with “PHP: >= 5.2”. That might mean PHP 5… Sorry, I’m a total newbie with databases and PHP.

    Also, 16 MB is apparently the maximum memory they offer. Crap! ??

    Hi Folks, i used to experience the same problems as you guys too.

    After a lot of head scratching, beside tweaking the php.ini to 64M, there is also one file (wp-settings.php) inside your WP main directory to tweak.

    Open/Edit the (wp-settings.php) file and look for the below settings and change accordingly to increase the memory limit to your desired values. It works magic for me, and i hope it does for you too.

    FROM
    ========
    if ( !defined(‘WP_MEMORY_LIMIT’) )
    define(‘WP_MEMORY_LIMIT’, ’32M’);

    TO
    =====
    if ( !defined(‘WP_MEMORY_LIMIT’) )
    define(‘WP_MEMORY_LIMIT’, ’80M’);

    [sig removed]

    Thread Starter yallaman

    (@yallaman)

    Editing wp-settings.php didn’t work. I guess it’s because users can’t override the php settings of the web host (web10.nu). As I mentioned in my first post, adding ini_set(‘memory_limit’,’32M’); to various other php files (another tip) didn’t help either.

    If my host has an upper memory limit of 16 MB, I might be stuck. Too bad, I really wanted to try WordPress …

    Thread Starter yallaman

    (@yallaman)

    So, how much memory does WordPress 2.7 installation require?

    Well, my web host was nice enough to increase the php memory from 16 MB to 24 MB. This time I had no trouble installing it! ??

    I wonder if my webpage will work ok if they decrease the memory to 16 MB again …?

    Anyway, my original problem is solved.

    Hi, my website at https://speedywap.com has started to use 1gb ram

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Simple question: How much memory does WordPress 2.7 installation require?’ is closed to new replies.