• Resolved B. Anders

    (@basic777)


    Hi all,

    Trying to install for the first time on a server from easynet and i get this:

    Fatal error: Out of memory (allocated 9699328) (tried to allocate 311296 bytes) in /web/wp-includes/script-loader.php on line 271

    i tried different suggestions from this forum with no success. I can only read php.ini, memory_limit = 16M.

    Please help with some magic or good code ??

    Thanx, B.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter B. Anders

    (@basic777)

    meantime, managed to put a php.ini in the webroot directory where i alocated 256M. Tested with a phpinfo and indeed i get 256M.

    Error is still the same… ??

    Moderator t-p

    (@t-p)

    WordPress should not be causing that much memory usage.

    It could be a badly installed/configured PHP server.

    Thread Starter B. Anders

    (@basic777)

    i have the option in the admin/config panel of the host to change the php version, so i up-ed from 4.4.7 to 5.2.5
    also i can have 5.2.3 but i get the message at install that it is not enough

    Thread Starter B. Anders

    (@basic777)

    So the host says it is a WordPress problem. I have indeed 256M thru php.ini alocated and the error persists.

    Any HEEEELP please ???

    Thank you,
    B.

    Moderator t-p

    (@t-p)

    – System Recommendations for 4.0

    In addition to PHP, also check:

    ?PHP version 5.2.4 or higher.
    ?MySQL version 5.0 or higher.
    ?The mod_rewrite Apache module.

    – also, for testing purposes, try 325M

    Thread Starter B. Anders

    (@basic777)

    Well, just phoned with the hosting provider and they say it is a WordPress problem and they do not support my wordpress installation. I have to manage alone… and no nice tone was used.

    So i would be at least happy to know if the problem can be solved on my side – and keep looking for a solution – or i deppend on the host.

    Meanwile i tryed to install WP3.9 and the error message is simmilar:

    Fatal error: Out of memory (allocated 9699328) (tried to allocate 19456 bytes) in /web/wp-includes/taxonomy.php on line 478

    PHP 5.2.5
    MySQL 5.0.37
    Perl 5.8.5
    i put in the webroot directoy a .htaccess with

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    and i don’t have access to server config anymore since the last phone talk so i can’t access php.ini anymore.
    Since the host is not my choice it is hard to solve the problem soon unless there is a tehnical – script – code – voodoo solution.

    ty so far,
    B.

    Moderator t-p

    (@t-p)

    try deactivating ALL plugins and switching to the default Twenty Fourteen theme with all plugins off.

    If that resolves the issue, then turn one-by-one on to find the problem.

    Since you don’t have access to admin, use FTP or SFTP or whatever file management application your host provides

    Thread Starter B. Anders

    (@basic777)

    … hi Tara, the errors above are at WP installation.
    If i’ll see the WP Dashboard on that server … huuaaa…

    ??

    Thread Starter B. Anders

    (@basic777)

    So i figured out what the problem might be while trying to copy a functional wp instalation with Duplicator (that needs php 5.2.17)
    PHP version is 5.2.5 – this is a 2007 version, and phpinfo reveals that it is a 2008 server, so it’s all very old stuff.

    The fact that the dude at “Freenet” today wasn’t nice and cooperative when i asked about the problems with the server completes the whole picture.
    I will try to move the hosting if possible.

    Thank you for the nice answers,
    B.

    Moderator t-p

    (@t-p)

    You are welcome
    Please mark thread as “resoled” using the dropdown in the sidebar

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Fatal error: Out of memory’ is closed to new replies.