GoDaddy Ajuda

Limites de upload PHP na hospedagem compartilhada

Your default PHP upload limit depends on the type of hosting account you have (Qual tipo de conta de hospedagem tenho?).

TypeDefault upload limitMax
cPanel32MB128MB
Plesk2MB2GB
Managed WordPress100MB192MB

The upload limit does not guarantee an upload will complete — only that it isn't rejected by the server. Uploads beneath the upload limit can still fail because of:

  • Upload speed, which can cause your PHP script or browser to time out.
  • Your account's resource availability, which can cause large files to fail.

Change your PHP upload limit

To change the limitation, edit or add the following values in your PHP initialization file (Que nome o arquivo de inicialização PHP precisa usar?).


file_uploads = On
post_max_size = 50M
upload_max_filesize = 50M

The above settings change your PHP upload limit, allowing you to upload files up to 50MB in size. Setting the PHP upload limit higher than the Max listed above will force the setting to use the default upload limit instead.

More info