Cómo cambiar el tamaño máximo de archivo subido en PHP

By default, PHP is set to allow uploads of files with a size of 2MB or less. If you are using a PHP script such as WordPress and need to increase the upload max file size, then you will have to adjust your PHP settings from cPanel and raise the values for "upload_max_filesize" and "post_max_size".

To change the "upload_max_filesize" and "post_max_size" for PHP, follow these simple steps:

  1. Log into cPanel.
  2. Under the Software section, click 'Select PHP Version' icon.
  3. Then click 'Switch to PHP options' link.
  4. You can now change the values for upload_max_filesize and post_max_size
  5. click the Apply button.
  6. hit the Save button & enjoy!

Additional information
The value of post_max_size should not exceed the PHP memory_limit.

  • cpanel, memory, php
  • 32 Els usuaris han Trobat Això Útil
Ha estat útil la resposta?

Articles Relacionats

Cómo crear una redirección por el .htaccess?

Hay varias maneras de redirigir los accesos de su sitio.La idea de este artículo es sólo orientar...

Cómo puedo verificar el uso de mis recursos desde cPanel?

Puede verificar su CPU / Memoria (RAM) / E / S de disco y otros recursos utilizando el cPanel....

Cómo puedo generar Certificate Signing Request (CSR) desde cPanel?

Generate a Certificate Signing Request (CSR) Login to cPanel Click SSL/TLS Manager >...

Cómo puedo aumentar mi límite de memoria de PHP?

You can easily change the memory_limit for PHP by following these steps. Log into cPanel...

Cómo puedo mostrar los archivos ocultos (htaccess) cuando uso cPanel File Manager?

By default, when using cPanel's File manager, it will not display hidden files and folders until...