Word Press How To upload more then 2mb

Discussion in 'PHP' started by LiLTimmy123, Nov 29, 2009.

  1. #1
    when i go to import then wordpress
    i got xml files that are over 2 mb
    and my limit is 2 mb

    where is the php.ini file located in the ftp i cant find it at all
    and is there another way then doing php.ini
    and how
     
    LiLTimmy123, Nov 29, 2009 IP
  2. Silver89

    Silver89 Notable Member

    Messages:
    2,243
    Likes Received:
    72
    Best Answers:
    0
    Trophy Points:
    205
    #2
    Create a file called php.ini and then insert this code:

    
    upload_max_filesize = 25M;
    
    Code (markup):
    Upload it to the root directory for the domain you wish for it to affect.

    You can then check it within a php info file.
     
    Silver89, Nov 29, 2009 IP
  3. AsHinE

    AsHinE Well-Known Member

    Messages:
    240
    Likes Received:
    8
    Best Answers:
    1
    Trophy Points:
    138
    #3
    Also don't forget about max_post_size directive. It also limits maximum upload size cause files are uploaded by POST method.
     
    AsHinE, Nov 29, 2009 IP
  4. LiLTimmy123

    LiLTimmy123 Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    oh alright ty guys
    btw do u kno a way to like
    a script to where it creates thumbnails for every video
    like
    this is my site http://www.animetwister.com
    where it shows the black like a thumbnail there that is auto generated
     
    LiLTimmy123, Nov 29, 2009 IP