1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Simple: PHP.INI - Need two codes

Discussion in 'PHP & Perl' started by gamingneeds, May 25, 2011.

  1. gamingneeds

    gamingneeds Regular Member

    Joined:
    Jul 18, 2008
    Messages:
    401
    Likes Received:
    83
    Hey guys,

    I'm trying to configure a few changes to the PHP my host has setup.

    Basically, I need the timeout set higher (to like 600 or something) and would also like to dedicate more RAM or something to the process.

    I'm trying to import a Wordpress install and it ends up 404'ing so I'm guessing it is timing out and not able to use enough resources.

    I would only use the file when I needed to do this and then 'killall' afterward and revert back to the default settings.

    Thanks for your help!
     
  2. dario1977

    dario1977 Regular Member

    Joined:
    Jul 6, 2010
    Messages:
    245
    Likes Received:
    36
    Location:
    Europe
    Home Page:
    memory_limit = 64M or 128M
    TimeOut = 1000
    upload_tmp_dir = /tmp (make sure you have a writable tmp folder in the root directory)
     
  3. gamingneeds

    gamingneeds Regular Member

    Joined:
    Jul 18, 2008
    Messages:
    401
    Likes Received:
    83
    upload_tmp_dir = /tmp (make sure you have a writable tmp folder in the root directory)

    What is that for?

    Thanks!
     
  4. pk2002

    pk2002 Newbie

    Joined:
    May 7, 2011
    Messages:
    16
    Likes Received:
    1
    It's temporary folder for uploading files via post forms.