5 replies
Hello my friends.
I have purchased My Arcade Pro plugin and install it to my website.
www.psgameonline.com

But when I try to upload games automatically I always get this error.

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 50 bytes) in /home/content/48/5927648/html/psgameonline/wp-content/plugins/myarcadeblog/myarcadeblog.php on line 491

My php.ini files shows that its memory size is 64 MB.
Is this php.ini problem? Should Iincrease it or another think?
Thanks.
#memory #php #size
  • Profile picture of the author mywebwork
    I doubt its a PHP.ini problem, could be a conflict with one of your existing plugins. Try removing or deactivating them and see if it helps.

    Bill
    {{ DiscussionBoard.errors[3017061].message }}
  • Profile picture of the author pomspot
    Are you sure you are looking at the right php.ini file, that is 256MB exhausted?

    Could there be more then one php.ini? Also is it a shared host and what is your max memory limit allowed?

    What it means is your wp installation plus all plugins plus the data you are moving is too big to be put into the memory at once so the advice given above still stands.

    You definitely want to contact your host support or check the docs to sort out these issues such as you max memory limit.

    To see where the active php.ini is located create a file with the contents below on your server and load it in your browser. Delete it after you view it!

    <?php echo phpinfo() ?>

    Look for the line: Loaded Configuration File

    Remember to delete it after it is no longer needed.
    {{ DiscussionBoard.errors[3017454].message }}
  • Profile picture of the author zeeshi570
    you should set memory limit before the script
    {{ DiscussionBoard.errors[3031004].message }}
  • Profile picture of the author leiden
    Create a php file with this:

    PHP Code:
    <?php
    phpinfo
    ();
    ?>
    Then open this file in your browser. It will tell you which php.ini is actually being used. Increase the PHP memory limit there.
    {{ DiscussionBoard.errors[3031029].message }}
    • Profile picture of the author alkantenik
      Thanks for replies my friend.
      My php memory limit is 64 mb and I have contacted with mt hosting company.
      Thanks you very much.
      Signature
      Wordpress Designer
      Skype: wordpress_alkan
      {{ DiscussionBoard.errors[3031245].message }}

Trending Topics