Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Wie man die maximale Datei-Upload-Größe in WordPress erhöht

Unsere Besucher bitten uns häufig um Hilfe bei der Lösung von Problemen im Zusammenhang mit Einschränkungen beim Upload von Dateien. Diese einfache Website-Einstellung kann unerwartete Auswirkungen auf Ihre Website haben.

Zum Beispiel kann eine niedrige Grenze für die Datei-Upload-Größe Sie manchmal daran hindern, Dateien mit dem Media-Uploader hochzuladen oder größere WordPress Plugins und Themes zu installieren. Das kann sehr frustrierend sein, vor allem wenn Sie nicht wissen, wie Sie das Limit ändern können.

In diesem Artikel zeigen wir Ihnen, wie Sie die maximale Größe für den Upload von Dateien in WordPress einfach erhöhen können, um diese Probleme zu beheben.

How to increase the maximum file upload size in WordPress

Warum die maximale Datei-Upload-Größe in WordPress erhöhen?

Ihr WordPress Hosting-Anbieter legt einen Standard für die maximale Größe des Uploads von Dateien fest, wenn Sie sich anmelden und WordPress installieren. Ihr Hosting-Anbieter legt diese Grenze fest, die normalerweise zwischen 2 MB und 500 MB liegt.

Für die meisten Betreiber von WordPress-Websites ist dieses Limit mehr als ausreichend.

Es kann jedoch vorkommen, dass Sie diese Grenze anheben müssen, um Upload-Fehler zu vermeiden.

Zum Beispiel:

  • Sie betreiben eine Fotografie-Website und müssen große Bilder hochladen.
  • Ihr Design- oder Fotografie-Portfolio enthält große Bilder.
  • Sie möchten ein größeres WordPress-Theme oder -Plugin installieren.
  • Sie möchten digitale Produkte wie eBooks, Fotos, Videos und mehr verkaufen.
  • Sie aktualisieren regelmäßig Inhalte und fügen Audio, Fotos und mehr hinzu, die über das aktuelle Limit hinausgehen.

In diesem Sinne zeigen wir Ihnen, wie Sie die maximale Datei-Upload-Größe auf Ihrer WordPress-Website erhöhen können.

Hinweis: Denken Sie daran, dass die Anzeige vieler großer Dateien auf Ihrer Website deren Geschwindigkeit und Leistung erheblich beeinträchtigen kann. Deshalb empfehlen wir in der Regel, keine Videos in WordPress hochzuladen.

Da die meisten Benutzer unterschiedliche WordPress-Hosting-Konfigurationen haben, werden wir die folgenden Punkte behandeln:

Video-Anleitung

Subscribe to WPBeginner

Wenn Sie eine schriftliche Anleitung bevorzugen, dann lesen Sie einfach weiter.

Wie Sie die maximale Datei-Upload-Größe in WordPress überprüfen

WordPress zeigt automatisch die maximale Dateigröße an, wenn Sie Bilder oder andere Medien hochladen.

Um dies zu überprüfen, gehen Sie einfach auf Medien “ Neu hinzufügen in Ihrem WordPress-Administrationspanel, und Sie werden die maximale Datei-Upload-Größe für Ihre WordPress-Website zu sehen.

Check current file upload size limit

Da Sie nun wissen, wie Sie das Größenlimit finden können, zeigen wir Ihnen, wie Sie die maximale Upload-Größe in WordPress erhöhen können.

Methode 1: Kontaktieren Sie Ihren WordPress-Hosting-Anbieter

Eine der einfachsten Möglichkeiten, die maximale Datei-Upload-Größe in WordPress zu erhöhen, besteht darin, sich an Ihren WordPress-Hosting-Anbieter zu wenden.

Dies ist eine relativ einfache Aufgabe für das Kundendienstteam und kann in wenigen Minuten erledigt werden.

Für Anfänger kann dies viel einfacher sein als das Hinzufügen von Code zu WordPress und das Bearbeiten von Serverdateien.

Gehen Sie einfach auf die Website Ihres Hosting-Anbieters, z. B. Bluehost, und melden Sie sich an.

Klicken Sie dann auf das Symbol „Chat“ am unteren Rand der Ansicht. Sie können dann die Support-Mitarbeiter bitten, die Größe des Uploads von Dateien auf Ihrer WordPress Website zu erhöhen.

Clicking the Bluehost live chat support button in the dashboard

Sie können sich auch über das Dashboard Ihres Hosting-Kontos an den Support wenden.

Methode 2: Erstellen oder Bearbeiten einer vorhandenen php.ini-Datei

Eine weitere Möglichkeit, die maximale Datei-Upload-Größe zu erhöhen, besteht darin, eine Datei namens php.ini zu erstellen oder zu bearbeiten. Diese Datei steuert viele Einstellungen für Ihre WordPress-Hosting-Umgebung.

Die meisten WordPress-Hosting-Anbieter wie Bluehost bieten ein einsteigerfreundliches cPanel für die Verwaltung Ihrer Website.

Wenn Ihr Webhost über ein cPanel-Dashboard verfügt, können Sie die Größe der hochzuladenden Dateien mit den integrierten Tools erhöhen.

Hinweis: Die folgenden Angaben stammen aus dem Bluehost cPanel. Bei den meisten Shared-Hosting-Anbietern werden jedoch ähnliche Schritte durchgeführt.

Sie finden eine cPanel-Schaltfläche am unteren Rand der Registerkarte Hosting bei Bluehost.

Open cPanel in Bluehost

Wenn Sie auf diese Schaltfläche klicken, wird Ihr cPanel-Dashboard geöffnet.

Nun müssen Sie zum Abschnitt Software scrollen und auf „MultiPHP INI Editor“ klicken.

MuliPHP INI Editor in Bluehost's cPanel

Blättern Sie dann nach unten zum Abschnitt „upload_max_filesize“ und geben Sie eine neue maximale Dateigröße in das Feld ein.

Klicken Sie dann auf die Schaltfläche „Übernehmen“.

Upload Max Filesize Setting

Alternativ können Sie auch auf die Registerkarte „Editormodus“ klicken und dann die maximale Dateigröße direkt im Editor ändern.

Sie müssen den Abschnitt „upload_max_filesize“ bearbeiten, um die Größe der hochgeladenen Dateien zu erhöhen.

Wenn Sie fertig sind, klicken Sie einfach auf die Schaltfläche „Speichern“.

Change max upload filesize in code editor

php.ini durch Hinzufügen von Code bearbeiten

Wenn Ihr derzeitiger Hosting-Anbieter die cPanel-Option nicht anbietet, müssen Sie diese Datei manuell bearbeiten.

Dazu können Sie einen FTP-Client oder die Dateimanager-Option in Ihrem WordPress-Hosting-Kontrollpanel verwenden.

Wenn Sie ein gemeinsam genutztes Hosting-System verwenden, kann es sein, dass Sie die Datei php.ini nicht in Ihrem Hosting-Verzeichnis finden. Wenn Sie keine sehen, erstellen Sie einfach eine Datei namens php.ini und laden Sie sie in Ihr Stammverzeichnis hoch.

Fügen Sie dann den folgenden Codeschnipsel in die Datei ein:

upload_max_filesize = 256M
post_max_size = 256M
max_execution_time = 300

Sie können die Grenze von 256M“ an die Dateigröße anpassen, die Sie für Ihren WordPress-Blog benötigen.

Methode 3: Fügen Sie den Code in die Datei functions.php Ihres WordPress-Themes ein

Bei dieser Methode wird Code in die Datei functions.php Ihres WordPress-Themes eingefügt.

Anstatt die Datei direkt zu bearbeiten, empfehlen wir die Verwendung von WPCode. Es ist das beste Plugin für Codeschnipsel, mit dem Sie Code zu Ihrer Website hinzufügen können, ohne sie zu zerstören.

Wenn Sie dies noch nicht getan haben, lesen Sie unseren Leitfaden für Einsteiger, wie Sie benutzerdefinierten Code in WordPress hinzufügen.

Zunächst müssen Sie das kostenlose WPCode-Plugin installieren. Weitere Details finden Sie in unserer Schritt-für-Schritt-Anleitung für die Installation eines WordPress-Plugins.

Nach der Aktivierung sollten Sie zu Code-Snippets “ + Snippet hinzufügen navigieren. Fahren Sie mit der Maus über die Option „Eigenen Code hinzufügen“ und klicken Sie dann auf die Schaltfläche „Snippet verwenden“.

Add a Custom Snippet in WPCode

Auf dem nächsten Bildschirm müssen Sie Ihrem neuen Snippet einen Namen geben und den Codetyp in „PHP Snippet“ ändern.

Kopieren Sie dann den folgenden Codeschnipsel und fügen Sie ihn unter „Codevorschau“ ein. Stellen Sie sicher, dass Sie „256M“ in die maximale Dateigröße ändern, die Sie benötigen:

@ini_set( 'upload_max_size' , '256M' );
@ini_set( 'post_max_size', '256M');
@ini_set( 'max_execution_time', '300' );
Save Your Custom Snippet in WPCode

Schalten Sie schließlich den Schalter oben auf „Aktiv“ und klicken Sie dann auf die Schaltfläche „Snippet speichern“. Der Code wird nun auf Ihrer Website ausgeführt.

Methode 4: Hinzufügen von Code zu Ihrer .htaccess-Datei

Eine weitere Möglichkeit, die maximale Dateigröße zu erhöhen, besteht in der Änderung der Datei .htaccess. Diese Datei steuert die übergeordneten Konfigurationseinstellungen für Ihre Website.

Dazu müssen Sie sich per FTP auf dem Server Ihrer Website anmelden. Wenn Sie dies noch nicht getan haben, lesen Sie unseren Leitfaden für Anfänger zum Hochladen von Dateien mit FTP auf WordPress.

Danach müssen Sie Ihre .htaccess-Datei im Stammverzeichnis Ihrer Website suchen.

Open .htaccess file

Wenn Sie Ihre .htaccess-Datei nicht finden können, könnte sie von Ihrem Dateimanager oder FTP-Client versteckt worden sein. Weitere Informationen finden Sie in unserem Leitfaden zur Frage , warum Sie die .htaccess-Datei auf Ihrer WordPress-Website nicht finden können.

Als nächstes müssen Sie den folgenden Codeschnipsel in Ihre .htaccess-Datei einfügen:

php_value upload_max_filesize 256M
php_value post_max_size 256M
php_value max_execution_time 300
php_value max_input_time 300

Um die maximale Dateigröße noch weiter zu erhöhen, ändern Sie einfach den Wert „64M“ auf die von Ihnen gewünschte Größe.

Methode 5: Verwenden Sie ein WordPress-Plugin, um die Datei-Upload-Größe zu erhöhen

Eine weitere Möglichkeit, die maximale Datei-Upload-Grenze zu erhöhen, ist die Verwendung des Plugins WP Increase Upload Filesize. Wenn Sie sich mit dem Hinzufügen von Code zu WordPress nicht wohlfühlen, dann könnte dies eine gute Option für Sie sein.

Als Erstes müssen Sie das Plugin installieren und aktivieren. Weitere Einzelheiten finden Sie in unserer Anleitung zur Installation eines WordPress-Plugins.

Navigieren Sie nach der Aktivierung zu Medien “ Upload-Limit erhöhen in Ihrem WordPress-Administrationsbereich.

Daraufhin wird ein Bildschirm angezeigt, auf dem Sie in der Dropdown-Liste „Maximale Dateigröße für den Upload wählen“ eine neue Dateigröße auswählen können.

Klicken Sie dann auf die Schaltfläche „Änderungen speichern“.

Increase file upload size with plugin

Hinweis: Die maximale Dateigröße für den Upload wird von Ihrem Hosting-Anbieter festgelegt. Wenn Sie eine höhere Dateigröße als die in der Dropdown-Liste angegebene benötigen, müssen Sie sich an Ihren Hosting-Anbieter wenden und um eine Erhöhung des Limits bitten.

Wir hoffen, dass dieser Artikel Ihnen geholfen hat, die maximale Datei-Upload-Größe in WordPress zu erhöhen. Vielleicht interessieren Sie sich auch für unseren Leitfaden zur Auswahl des besten Website-Builders und unsere Expertenauswahl der besten Apps für virtuelle Telefonnummern für Unternehmen mit kostenlosen Optionen.

Wenn Ihnen dieser Artikel gefallen hat, dann abonnieren Sie bitte unseren YouTube-Kanal für WordPress-Videotutorials. Sie können uns auch auf Twitter und Facebook finden.

Offenlegung: Unsere Inhalte werden von unseren Lesern unterstützt. Das bedeutet, dass wir möglicherweise eine Provision verdienen, wenn Sie auf einige unserer Links klicken. Mehr dazu erfahren Sie unter Wie WPBeginner finanziert wird , warum das wichtig ist und wie Sie uns unterstützen können. Hier finden Sie unseren redaktionellen Prozess .

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

Das ultimative WordPress Toolkit

Erhalte KOSTENLOSEN Zugang zu unserem Toolkit - eine Sammlung von WordPress-bezogenen Produkten und Ressourcen, die jeder Profi haben sollte!

Reader Interactions

406 KommentareEine Antwort hinterlassen

  1. Syed Balkhi

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Sushil Kumar

    Thank you Yasir Imran it works for me via .htaccess

  3. Pedro Viana

    .htaccess rules! thanks.

    • Amit Kumar Gupta

      Very useful Article for me . Thanks wpbeginner

  4. Steve S

    I figured out a work-around that does not involve messing with php.ini, .htaccess, functions.php, or any other systtem files. All I did was the following:

    * FTP the file up to /wp-content/uploads/year/month/filename.mp4
    * New Post –> Add Media –> Insert from URL
    * Cut and paste the appropriate URL based on where you uploaded the file.
    * Hit Insert Into Post. Done.

    • kenny

      Perfect! ps if you are inserting an image for a slide background in slider Revolution, use option ‚External URL‘

  5. vic

    the .htaccess worked fine for me. thanks alot

  6. Anchal Singh

    my website have got the same issue but thanks to this post its now work perfect

  7. Matt

    Thanks. I want to also know how to make a website portal using wordpress. Any information from you will be highly appreciated.

  8. marta

    Thanks. For me htaccess Method did his job :)

  9. Rifqi Arief

    Thanks Bro, Its Work On My Free Hosting via .htacess

  10. RT

    Please try below steps as well after creating the php.ini

    (1) Go to My Sites -> Network Admin -> Settings from WordPress admin dashboard.

    (2) Uncheck the checkbox for „Site upload space: Limit total size of files uploaded to 10 MB“ and Save changes.

    (3) Done.

    Regards,

    -RT

    • Suika

      Thanks, I forgot there was a setting there for that.

  11. Abhishek

    I’m on goddady hosting, none of the 3 solutions worked for me.
    But some users reported .user.ini file worked for them in goddady.
    can anybody tell me where to put this file?
    I have tried root folder and wp-admin folder nothing worked.

  12. Raman Gutyan

    htaccess Method is working great in my localhost.

    Thanks for sharing.

  13. DVR

    If you are hitting a wall. Go to your host. Advance setting for PHP. Scan the code looking for max upload & file size. Change it to your required setting.

    Done.

    See NICOLAS‘ reply above.

    • martin kendall

      Hi DVR I had tried everything and nothing worked, with what had been posted here. I tried multi times in every why to get it to work. Nothing, but your post put me on the correct answer. Thanks very much for that.
      Ok this is what i did, Signed into my host server, where my website is. the host server runs on cPanel and the theme is paper_lantern. It should not matter what your sever is or the theme. If you do not have access to this area you will have to get your host to make the changes y cotacting your technical help.
      In the panel you will have categories like = files, database, domains, email etc and what you are looking for is software, under software / apps look for multiPHP INI Editor or something like that. Its going to be different on other platforms but should be in that area. What you are looking for is configure PHP INI basic settings or editor mode. I got offered home directory or my domain name. I picked the domain name but maybe need to change both but I did not need to. Scrolled down to upload_max_filesize and changed to 64M but this did not work as you have to also change the momory_limit to 64M also. They have to be the same figure. and then it will work.
      Has I understand, when you make the changes in wordpress code. the instruction talk to your data base through the PHP files and instruct the server software to change the database settings. For some reason It would not work for me. So this route, bypass that and making the changes on the server software and not on the wordpress software. In future I will go this way as it was really quick. I hope this helps as a last resort. Martin p.s. this was WordPress 4.8.1 and I found that it did not have, after loading it any PHP.INI or .htaccess files. I did install them but made no difference and or where I put them.

  14. Jeet Patel

    THank you so much it’s working really :)

  15. Silentnight

    Thank u so much… I increased my uploading size.

  16. Gopi krishnan

    For me, this is not working, but i did this in htaccess file in this way,

    php_value post_max_size 10M
    php_value upload_max_filesize 40M
    php_value memory_limit 500M

    This works !

  17. Michael Serovey

    I have my websites hosted with GoDaddy and so far, NONE of the above suggestions have worked! I have paid for this plugin and now I that I wasted my money!

    • Paul

      Hi,
      To avoid the plugin upload limit you can just upload the plugin with filezilla to your plugin directory. After uploading you can extract the zip file in the file manager and after you have done this the plugin is visible and ready to activate in your admin –> plugin panel

      Hope this helped.

      Cheers

      • Pooya

        WOW! THANK YOU PAUL!!

        This worked perfectly for me!

        and it is MUCH easier and more reliable than any of those methods.

        just go to File Directory under the cPanel -> Public-html -> [ you site folder] -> wp-content ->themes or plugins

        Then upload the zip file here and extract it.

        login to your wp-admin dashboard. and bam, you got yourself the theme or plugin.

        • Tom

          Thank the Lord (paul) this took way too long.

  18. Nicolas

    Just go to your hosting control pannel -> Advanced -> PHP Settings -> upload_max_filesize ( it usually is on 2M you can change it up to 8M in my case… the point is that it shouldn’t be higher than your post_max_size)
    You are welcome!

  19. Steven Gliebe

    functions.php is not the best place to put the code because raising the PHP max upload size limit is unrelated to a specific theme. Users shouldn’t be changing theme files directly anyway. wp-config.php is probably a better place. The .htaccess or php.ini method is even better (or just ask the host).

  20. Stephanie

    php.ini needs to be in wp-admin folder. This article states it needs to be in the root, which I tried but it made no difference. FYI

    Thank you for the information!

    • Aaron

      Thanks so much for your reply Stephanie. Your information was exactly what I needed.

      • Mike Serovey

        So far, NONE of the above suggestions have worked. My control panel does NOT allow me to change the PHP Settings, modifying the .htaccess created an internal server error and modifying the theme failed to work as well. Have any other suggestions?

        • Mike Serovey

          With GoDaddy hosting, I discovered that I needed to use the lines of code that someone posted for the .user.ini file and then refresh my browser and recheck the plugin about three times each before the thing FINALLY worked!

    • Robert

      Thank you! ini file need to be uploaded in wp-admin folder.

    • Emmanuel Parbey

      Thank you.

      It worked perfectly.

    • Somnath

      @Stephnie Thanks a Lot .It Workz

    • Sorin

      In wp-admin put php.ini and work

    • Angel Rodriguez

      This worked for me as well.

  21. Matt

    Worked Immediately! Thanks! By the way if anyone else wants to know, my host is BlueHost and I am using a Genesis Theme.

  22. Panagiotis Sakalakis

    Using the .htaccess I got an Internal Error, and then I just removed the code and it fixed. After that, I created a php.ini file in /public_html/wp-admin, pasted the code and saved it. Everything’s work like a charm now and I can upload my files just fine without any problem.

  23. Subin Babukuttan

    htaccess worked fine .thanks 4 d post

  24. hol

    Hi

    Does anyone know why if the PHP.INI file is changed as mentioned why when the file has completed to 100% nothing happens and it displays http error.

    I can upload small files and small videos.
    I cant upload anything bigger than say 200mb

    I had this working and accepting larger files then I had a restore done on website.

    I have changed the PHP.INI…

    Is there any reason why just large files don’t work ?

    do I need to edit the hta.access file ?

    thanks

  25. Ian

    .htaccess method worked for Media Temple grid hosting, others didnt affect it, just in case anyones wondering…

  26. Jay

    IF YOUR STILL FINDING NOTHING IS WORKING..
    (In my case the problem was with WP MULTISITES)..,

    FIRST CHECK THE FOLLOWING:
    1. check your hosting limits (although this was not my problem) make sure your hosting allows the limit you are trying to set ie if on a shared hosting you might find the maximum is 64M.

    NOTE: The following solution may also apply If in WordPress, Maximum upload file size will not change even when changed in the php.ini file etc.

    The 1M max upload problem lies with WP MULTISITES default settings!!

    To change this, do the following to change the Maximum upload file size within WP admin:

    LOG INTO YOUR ADMIN DASHBOARD:
    1. At the top, hover over My Sites and then click Network Admin.
    2. At the left, hover over Settings and then click Network Settings.
    3. Scroll to the bottom of the page and change the Max upload file size to whatever you would like in KB.
    4. Click Save Changes.

    Hope this helps :)

    • Milton

      Thanks Jay you were right on point for WP multisites

    • Denis

      Worked for me. The site used to work and I couldn’t understand why it didn’t anymore. It was my conversion to multisite which caused the ptoblem.

    • Adam

      Thanks!!!! Jeez there’s not much help on the changes mutli-site makes!

    • Bhanu uday

      It worked like a charm. Thank you very much.

  27. AmanDeep Singh

    Working !.I use Create or Edit an existing PHP.INI file method and after applying the settings as mentioned in the article now i am able to upload themes and plugins which are large in size.Thanks for sharing solution.

  28. Judy

    I am new to WordPress, I usually use Joomla but I have a new client that wants a WordPress site. When trying to upload images the WordPress message was that the file limit was 3Mb. I spent hours searching websites for an answer. I am using WAMP and localhost to create the site. Through localhost phpinfo() I could verify which php.ini was active, the one in Apache. I had a file limit of 64Mb but still WordPress had a 3Mb limit. This site gave the instructions under #3 to edit the .htaccess file in the WordPress folder. I copied and pasted the text into this file and IT WORKED! Thank you wpbeginner.

  29. KenSanDiego

    forgot to mention, my WP site is in a subdirectory with a domain pointer. Powweb’s php applies to everything in all subdirectories. So if you have any installations in subdirectories the change applies to all installations.

  30. Ugyen Zangmo

    Create php.ini in wp-admin folder

    In the file put the following 3 lines:

    upload_max_filesize = 2048M
    post_max_size = 2048M
    max_execution_time = 3000

    Goto to your website as admin and check the upload new media page, it should now display Maximum upload file size: 2 GB.

    Thanks to Yasir Imran for sharing your tip!

    This worked for me. Thank you James for sharing the Yasir Imran tip. Cheers

    • sadiq

      it is not working i have done same
      in godaddy server

    • Brendan

      That was a great tip… it worked for me.. thanks!

    • Ben

      Holy crap! Thanks so much man, after the last wordpress update to 4.3.1 my upload size reverted back to the default of 50 MB even though my php.ini, .htaccess, and wp-config.php files hadn’t changed and were still reflecting a max upload size of 512 MB! You’re a hero!

    • Alain

      Thank you very much!
      I tried ALL of the three methods with no results.
      I asked the webhost and the raised the limit to 40 MB.
      Then, finally, I tried yours and it worked fantastically!

  31. dominio público

    post_max_size should be larger than upload_max_filesize to allow room for other information. The defaults are 2MB max file size and 8MB max post size.

    From PHP’s documentation:

    post_max_size integer
    Sets max size of post data allowed. This setting also affects file upload. To upload large files, this value must be larger than upload_max_filesize.

  32. Nori

    Thanks for this! Tried the php.ini and I am quite surprised it worked and was so easy

  33. Dan

    php.ini file worked perfectly for me. I simply changed the existing values to 100M. All good. Thanks for the advice.

  34. James

    Create php.ini in wp-admin folder

    In the file put the following 3 lines:

    upload_max_filesize = 2048M
    post_max_size = 2048M
    max_execution_time = 3000

    Goto to your website as admin and check the upload new media page, it should now display Maximum upload file size: 2 GB.

    Thanks to Yasir Imran for sharing your tip!

  35. Zain

    Hy,
    Please tell me the names of best themes for softwares/download sites?
    i am waiting.
    Thanks,
    Zain.

  36. Markus Aurelius

    Nothing of the above worked for me on GoDaddy so I had to use .user.ini instead of php.ini and that worked fine. Thanks for pointing me in the right direction!

    • Keith

      Thank you so much. I am on GoDaddy and this worked whereas several other methods did not.

    • Raj Kothari

      Hi Keith, can you tell me under which folder you have put this file? .user.ini
      Need help

    • Oliver

      Thanks .user.ini worked for me on Godaddy

  37. sam

    1:- open „C:wampbinapacheapache2.4.9bin“ folder and find „php“ which is a configuration file and open it in ur notepad and again find „upload_max_filesize“ and „post_max_size“ and change both and save.

    2:- open „C:wampbinphpphp5.5.12“ folder and find „php“ and „phpforapache“ which are configuration file and open both in ur notepad and again find „upload_max_filesize“ and „post_max_size“ and change both and save.

    3:- finally restart all services of wamp and enjoy…lov u all

  38. Decb

    Hi Guys, I’m REALLY new to this but can you look at what I see when I click to edit the .htaccess file – where do i add the code? at the start? at the end? Do I put my cursor at the begining and click return (then put it in) ??? Please help

    • Gerard ONeill

      Deb, it wouldn’t matter where you added it; but make sure its outside of a block. To be safe, just add it at the end.

      However, the better way (as of php5.5) is to modify the .user.ini file in a per directory basis. If you did the top level directory, it would apply to all sub directories (unless overridden).

      http://php.net/manual/en/configuration.file.per-user.php

      And obviously the system wide php.ini works too.

  39. BenPDX

    +1 for Alex’s solution. Upload php.ini folder to wp-admin folder worked for me on Lithium Hosting. 30 second Google search and 1 min to create text file and upload to server!

  40. Hasan Tareq

    .htaccess works for my wpenigne site

  41. Vineesh

    Hi alex, you are right. php.ini file should be added to wp-admin folder. It will work perfectly…. thanks alex

  42. Rafael

    Just adding the php.ini file into wp admin folder worked perfectly!!! thanks!

  43. chandan

    thnx alot Alex this worked for me to..

  44. Tony_atf

    I keep getting http error even with your suggestion. im on godaddy I have filesize 300m but anything over 150Mb chokes. it uploads, sits for a few seconds and then the http error displays. wordpress never shows the error.

    • SunnyK

      same with me. did you found any solution yet?

  45. Nitesh Magan

    Hey I added the 1st code to my theme function file, but now everything on my site went blank. I cant even access my wp-admin of my site !!

    Please Help …

  46. Chris

    If you’re just trying to upload files yourself in the admin panel (media), make a new plain text document, save it as whatever name (including extension) of the large file you’re trying to upload. So if you’re trying to upload „files.zip,“ save a blank text document as files.zip. Upload this blank text file you just created in WordPress. Then, go to FTP or file manager, go to wp-content/uploads/(whatever year it is)/(whatever month it is). You should fine files.zip there. Delete that file (which is just a plain text file) then upload the real files.zip, making sure the names match up. Then when you go back to media it will be the right file.

  47. Yasir Imran

    I tried htaccess method and found 500 internal server error, then placed php.ini with 3 given lines in root directory, again didn’t work. Then I placed it in wp-admin folder and it worked. I think the author should mention it.

    • Alexandre

      This worked for me while everything else had failed. Thanks for sharing.

    • Mel

      I had the exact same experience and this worked for me. Thanks Yasir!

    • Les B

      Thank you Yasir Imran…your method works where all others, including .htaccess fails!

      (The php.ini must be in the wp-admin folder.)

      Les

Schreibe einen Kommentar zu furqan Antworten abbrechen

Danke, dass du einen Kommentar hinterlassen möchtest. Bitte beachte, dass alle Kommentare nach unseren kommentarpolitik moderiert werden und deine E-Mail-Adresse NICHT veröffentlicht wird. Bitte verwende KEINE Schlüsselwörter im Namensfeld. Lass uns ein persönliches und sinnvolles Gespräch führen.