Jump to content
  • 0

[IPB4] Nu pot adauga teme mai mari de 2 MB


Căpșunelu

Question

3 answers to this question

Recommended Posts

  • 1
  • Moderators

Mareste limita de la PHP pentru a uploada fisiere.

Mai exact in fisieru php.ini cauta:

; Maximum allowed size for uploaded files.
upload_max_filesize = 40M

; Must be greater than or equal to upload_max_filesize
post_max_size = 40M

Default probabil ai 2M, mareste valoarea la 30-40M, da-i un restart la serviciu PHP si ar trebuii sa mearga.

Daca nu ai access la fisieru php.ini, vorbeste cu firma hosting sau in fisieru .htaccess adauga urmatoarele randuri:

php_value upload_max_filesize 40M
php_value post_max_size 40M

 

  • Upvote 1

PHP Developer - Not available for freelancing right now

Daca ai de gand sa postezi la categoria IPB, nu uita sa citesti regulamentul: Link regulament

Link to comment
Share on other sites

  • 0
7 minutes ago, gadeas said:

Mareste limita de la PHP pentru a uploada fisiere.

Mai exact in fisieru php.ini cauta:


; Maximum allowed size for uploaded files.
upload_max_filesize = 40M

; Must be greater than or equal to upload_max_filesize
post_max_size = 40M

Default probabil ai 2M, mareste valoarea la 30-40M, da-i un restart la serviciu PHP si ar trebuii sa mearga.

Daca nu ai access la fisieru php.ini, vorbeste cu firma hosting sau in fisieru .htaccess adauga urmatoarele randuri:


php_value upload_max_filesize 40M
php_value post_max_size 40M

 

Multumesc mult !, stiam ca problema e din php si de la host, revin cu reply daca sa rezolvat sau nu.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.