Select location & language
  • Österreich German
  • Australia English
  • België Dutch
  • Canada English
  • Schweiz German
  • Deutschland German
  • Eesti English
  • Ελλάδα English
  • España Spanish
  • France French
  • Hrvatska English
  • Italia English
  • Latvija English
  • Lietuva English
  • Nederland Dutch
  • Norge Norwegian
  • Polska Polish
  • Portugal Portuguese
  • Slovensko English
  • Suomi Finnish
  • Sverige Swedish
  • United Kingdom English
  • United States English
  • American Samoa English
  • Andorra English
  • Anguilla English
  • Antarctica English
  • Bermuda English
  • British Indian Ocean Territory English
  • British Virgin Islands English
  • Cayman Islands English
  • Christmas Island English
  • Città del Vaticano English
  • Cocos (Keeling) Islands English
  • Falkland Islands English
  • French Southern Territories English
  • Gibraltar English
  • Guadeloupe French
  • Guam English
  • Guernsey English
  • Guyane française French
  • Heard & McDonald Islands English
  • Ireland English
  • Isle of Man English
  • Jersey English
  • Liechtenstein German
  • Luxembourg French
  • Malta English
  • Martinique French
  • Mayotte English
  • Monaco French
  • Montserrat English
  • New Zealand English
  • Norfolk Island English
  • Northern Mariana Islands English
  • Pitcairn Islands English
  • Puerto Rico Spanish
  • Réunion English
  • San Marino English
  • Slovenija English
  • St. Barthélemy English
  • St. Helena English
  • St. Martin English
  • St. Pierre & Miquelon English
  • Svalbard & Jan Mayen English
  • Turks & Caicos Islands English
  • U.S. Outlying Islands English
  • U.S. Virgin Islands English
  • Åland Islands English
  • Κύπρος English
  • Црна Гора English
Cesta de la compra

¿Cómo puedo aumentar el límite de tamaño de los archivos que se pueden subir en PHP en DirectAdmin?

1 minuto de lectura

If you cannot upload a large file, image, or plugin because it exceeds the maximum size, you can raise the PHP upload limit in DirectAdmin. This guide explains which settings control it and how to change them.

The settings involved #

Two PHP settings work together to control uploads, and both need to be large enough:

  • upload_max_filesize: the largest single file you can upload.
  • post_max_size: the total size of a form submission, which must be at least as large as the upload.

It is also worth checking max_execution_time so big uploads have time to finish.

Changing the limit #

  1. Inicia sesión en DirectAdmin.
  2. Abra el Seleccione la versión de PHP o en la sección de configuración de PHP.
  3. Increase upload_max_filesize and post_max_size to your desired value.
  4. Guardar.

If the settings are not shown in the panel, add them to a custom php.ini in your site folder.

Verifying the change #

Crea una página de información de PHP o, en WordPress, comprueba Media > Add New, which shows the current maximum upload size. Try your upload again once the new limit is active.

Solución de problemas #

  • Limit unchanged: confirm you edited the correct PHP version and cleared caching.
  • Upload still fails: raise post_max_size and max_execution_time as well.

¿Necesita ayuda? #

If a large upload keeps failing, our support team can adjust the limits for you over live chat.

Cuáles son sus sentimientos