Where should I create a .ini file in wordpress?

Discussion in 'WordPress' started by Squidoo Queen, Jun 25, 2007.

  1. #1
    My blog is showing errors:

    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 11520 bytes) in /home/sites/dot-com-biz.com/public_html/blog/wp-includes/class-snoopy.php on line 1209

    I've been told to do the following:

    While it is better if you can arrange for the script not to do such things, it is also possible to increase the memory limit some to avoid this problem. To do that, edit the php.ini file with your PHP scripts (create it if it does not exist) and add the following line:

    memory_limit=16M
    You should replace the '16' with whatever value is appropriate. The default is 8M (8 megabytes, the 8388608 bytes from the error message).

    -------------------------

    So where do I create that file? I have searched through every file and do not have one called php.ini so I presume I need to create one, the problem is I have no idea how to create one, what it should look like or where it should go!

    Anyone able to help?

    Thanks

    Kelly
     
    Squidoo Queen, Jun 25, 2007 IP
  2. CypherHackz

    CypherHackz Well-Known Member

    Messages:
    447
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    155
    #2
    as i know, php.ini is located in the server. only your hosting provider can edit that file. :)

    -cypher.
     
    CypherHackz, Jun 25, 2007 IP