WordPress.org

Ready to get started?Download WordPress

Forums

installation erorr "Allowed memory size" (8 posts)

  1. icolored
    Member
    Posted 6 years ago #

    hello all ,

    I have a problem with wordpress we I'm installing wp in my localhost .. Am using wp 2.2.1 ,appserv 2.5.8 ..

    erorr message

    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 24576 bytes) in C:\AppServ\www\wp\wp-admin\upgrade-schema.php on line 16

    / C ya

  2. Chris_K
    Member
    Posted 6 years ago #

    Apparently the php.ini default of 8MB for Max Mem doesn't go as far as it used to...

    So, you'll want to configure your PHP installation to have a larger amount.

  3. icolored
    Member
    Posted 6 years ago #

    yes I think so

    memory_limit 8M 8M

    but unfortunately, there are no *.ini file to configure ..

    so is there a way to configur it ?

    thx for help

    regards

  4. Chris_K
    Member
    Posted 6 years ago #

    WordPress doesn't have any .ini files, that is true.

    However, PHP does -- and PHP is where your issue lies. PHP has a php.ini configuration file.

  5. icolored
    Member
    Posted 6 years ago #

    in php5 folder I found file named "php.ini-recommended"
    I found in it these lines

    max_execution_time = 30     ; Maximum execution time of each script, in seconds
    max_input_time = 60	; Maximum amount of time each script may spend parsing request data
    memory_limit = 128M      ; Maximum amount of memory a script may consume (128MB)

    can it help me cuz I didn't find any other php.ini files , Also I read b4 that htaccess. file can help in this problem , any idea ?

    Regards

  6. Chris_K
    Member
    Posted 6 years ago #

    Perhaps I'm confused?

    That shows:

    memory_limit = 128M

    However, in your initial post, the memory_limit (from the error) is 8MB.

    In your first reply to me, you showed this line:

    memory_limit 8M 8M

    Where was that found?

  7. icolored
    Member
    Posted 6 years ago #

    hmmm I found it in "PHP Information Version 5.2.1 "
    exactly in

    Configuration
    PHP Core

    ..

    I found how to solve this problem , we can delete the php5 folder and upgrade to the last version of php "5.2.3"
    it will work well .. but I still need to know how to solve with the "5.2.1" version :D

    any ideas ?

    Regards

  8. icolored
    Member
    Posted 6 years ago #

    hmm

    :(!

Topic Closed

This topic has been closed to new replies.

About this Topic