The Uploaded File Exceeds The upload_max_filesize directive in php.ini

#hostgator -> MoneyGator – You know you have expectations from a hosting company to offer you hosting for your sites in exchange for your money, I mean that would be the right thing but not here after you spent tens of thousands of dollar with development to create a cool site this guys will fuck it up will just hand your account to an unkown person and hold your site hostage and this is where the extortion beginning and waste of time and money. Not worth it go to another company and be done with it. John, Canada, stave

The uploaded file exceeds the upload_max_filesize directive in php ini 1and1

In case there is no php.ini file within the wp-admin folder then you would need to create one. visit my website to learn how

Visit my website:

The Uploaded File Exceeds The upload_max_filesize directive in php.ini

For those of you who don’t have php.ini in the WP-admin then you would need to create one. follow these steps:


  • carl ward
    Posted at 16:20h, 18 July

    Been stuck on my computer for 4 hours trying to solve this problem. This video fixed my problem straight away, Great video thank you 🙂

  • Jason Araos Fuentes
    Posted at 03:34h, 23 July

    excuse me bro,how can i fix this same problem in instantwp? i try this but nothing happened…

  • Shannon Hurst
    Posted at 01:14h, 29 July

    this isnt working for me at all 🙁 first i couldnt even move the php to a folder on my desktop, so i exited the ftp and restarted it. then i could move it, and i added the code and saved it, but after i clicked "finish editing and delete local file" it stopped working like it does in the video. now when i tried to view/edit to make sure it worked, it says "a file with that name is already being transferred" and my theme still wont upload. please help!

  • MundaneNepal
    Posted at 08:57h, 06 September

    I can't find the php.ini file in wp-admin !

  • Gana Bassi
    Posted at 21:32h, 30 October

    tnx but am using a localhost xampp

  • marcathy85
    Posted at 22:35h, 11 November

    saved me some money thanks!!!!

  • Kali Yuga
    Posted at 20:15h, 12 January

    Awesome. Thanks a million! You will have a good year 2016.

  • Mirta G
    Posted at 22:28h, 16 January

    I don't have php.ini in my wp-admin folder too. 🙁

  • Denise Baraka Lawrence
    Posted at 20:54h, 20 January

    Thank You Miquel…now to see if it works. Stay tuned for new (smiles)

  • Denise Baraka Lawrence
    Posted at 20:58h, 20 January

    Like @ Mirta said (LOL) –
    following the suggestion.. given to Mirta.

  • enescimen
    Posted at 20:05h, 22 January

    thanks bro 🙂

  • Saikot Hc
    Posted at 13:21h, 23 April

    Hey bosss i using hosting provider service therefore how to change my max_filesize ??

  • Saikot Hc
    Posted at 13:49h, 23 April

    Thanks for your help. Really Love You!

  • Jetlum Ajeti
    Posted at 17:09h, 01 May

    Hi Miguel I installed a theme and want to import dummy-data-xml but it shows me this

    Import WordPress
    Slide “Auto Draft” already exists.
    Slide “Auto Draft” already exists.
    Slide “Auto Draft” already exists.
    Are you sure you want to do this?

    Please try again.

    And after I click on please try again this errors shows
    File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini or by post_max_size being defined as smaller than upload_max_filesize in php.ini.

    (After I look on the wp-content on uploads the file becomes dummy-data.xml_.txt???)

    Posted at 13:06h, 14 May

    Thank you very much

  • Ange Angel
    Posted at 15:45h, 17 May

    Hello thanks for the vedio i did try every thing i found in internet but nothing worked , i still stuck !!!

  • S A N E L A
    Posted at 20:00h, 17 May

    You've just made my day!!! Thanks a lot!!! Greetings from Spain 🙂

  • aaron mckee
    Posted at 22:30h, 26 May

    Hello. I tried the same step that you gave in the video and verified the steps and I am still getting the same error.

  • guru prasad
    Posted at 17:57h, 07 June

    thank you very much. your help saved me.

  • Licoriceblue
    Posted at 09:35h, 13 August

    Thank you very much.

  • Eric Close
    Posted at 03:17h, 26 August

    thank youu!!!!!!!!!!!!!!!!!

  • Sufyan Patni
    Posted at 08:58h, 27 October

    Worked fine. Thank you

  • Euan James Cruz
    Posted at 17:19h, 21 November

    is this possible if i'm using localhost (xampp)? i got the same error
    "The uploaded file exceeds the upload_max_filesize directive in php.ini." i dont know how to connect to ftp with localhost. anyone??

    Posted at 21:58h, 09 December

    i don't have php.ini in my folder

  • Kevin Leigh
    Posted at 15:35h, 10 December

    thank you so much… this was a big help

  • Dudethic
    Posted at 16:21h, 20 December

    Did not worked for me. I follow the exacts steps. How is it possible ?

  • Pila Adur
    Posted at 22:11h, 10 January

    Actually it works better if you create the following file: .user.ini in the root folder. (its a hidden file so you will need to unhide it in order to edit it). This is what worked for me anyway…

  • Valentino Escada
    Posted at 12:31h, 27 January

    Solution did not work. Created the php.ini, ended up just getting a plug in to update the php.ini. I am using Godaddy so maybe the file was hidden because I could not find the php.ini so I created one.

  • Giri Nefer
    Posted at 12:57h, 08 February

    If you don't find php.ini file in wp-admin just create one using notepad and later rename the php.txt file to php.ini and upload the file in wp-admin.

  • SupaMario0011
    Posted at 00:16h, 16 March


  • Sajid Prince
    Posted at 10:29h, 25 March

    upload_mar_filesize = 64M;
    post_maz_size = 32M;
    safe_mode = off;

    save as php.ini

  • Ali Baba
    Posted at 08:27h, 02 April

    Hello Sir
    Thank you very much for this video
    I would ask you what i do if i use local host as XAMPP
    Best Regards

  • Clayton Honaker
    Posted at 03:28h, 13 April

    my problem is with the media library

  • Feral Films Ltd
    Posted at 11:26h, 18 April

    Thanks so much, this worked for me..! The theme was in excess of 18MB, and I amended the PHP file hosted on 1&1 Internet using Filezillla. Perfecto!

  • rotcataergeht
    Posted at 22:18h, 23 May

    What happens when increase max size over 64mb??

  • Iain Wilson
    Posted at 02:35h, 16 June

    Thank you – that worked!!!!!

  • Joe Saxton
    Posted at 00:02h, 04 July

    Absolutely brilliant video! Thanks very much 🙂

  • El Si Congru
    Posted at 06:50h, 23 July

    Hi my php.ini file already has a lot of text. Where do I put the code your'e showing? Thanks!

Post A Comment