Can't install plugins - Fatal error (5 posts)

  1. Samuel Jesse
    Posted 6 years ago #

    I have been trying to transfer my wordpress setup to a new server, and when I have tried to install the same plug-ins, or any for that matter it does not let me.. I'm getting the msg:

    Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 122880 bytes) in /var/virtual/web/w1032/html/wp-content/plugins/wp-postratings/wp-postratings.php on line 872

    So I have researched and tried everything I can, the only thing I am unclear about is how to find and access my php.ini

    A few days ago I spoke to my host who told me I do have access to edit php.ini although I cannot find it for the life of me. My host is shut until the 5th of Jan...

    I have tried editing the .htaccess with
    php_value memory_limit 32M
    with no success..

    SO I was wondering with php.ini if this is something I can access through FTP? If so where is it located? (I can not find it) If its not there and I was told I can edit it, does this mean I have to create a php.ini? If so does it have to have anything else in it apart from the memory_limit = 32M ;

    This is driving me crazy... hmm..

  2. Samuel Jesse
    Posted 6 years ago #

    I forgot to add, I can install only two plugins from scratch, although cannot install plug-ins through wordpress (including these two) I get the message:

    Installing Plugin: AdSense Manager 3.2.13

    for eg. and then nothing happens past that. So I have to manually upload the plugins.

    Not sure if that helps?

  3. Samuel Jesse
    Posted 6 years ago #


  4. Samuel Jesse
    Posted 6 years ago #

    Sorry to keep posting on my own questions, but I forgot to add I also came accross the code to put in a your php file:


    I'm not sure though which file to place it in to over ride the php.ini.. Any suggestions?

  5. rhughes
    Posted 6 years ago #

    This is probably due to your host having a hard php limit set on the server.

Topic Closed

This topic has been closed to new replies.

About this Topic