Forum

[SOLVED] file attac...
 
Notifications
Retirer tout

[SOLVED] file attached

8 Posts
3 Utilisateurs
0 Reactions
4,870 Vu
(@rmiroff)
Posts: 50
Active Member
Début du sujet
 
[#7525]

hello ,

I need to add attachments larger than 2MB. I managed to adjust the settings for the administrator Its ok. But I want to do it for another user group. can you tell me where?


 
Posté : 5 Mai PM 15:055
(@babynus)
Posts: 14952
Membre Admin
 

you must also change values in php.ini
post_max_size
upload_max_filesize9.


 
Posté : 5 Mai PM 16:055
(@henricazaban)
Posts: 14
Active Member
 

Hello,

I've the same problem but I had already change this settings :
post_max_size, upload_max_filesize from php.ini file and paramAttachmentMaxSize from the administration. (I had restarted apache service).
And I've always the error message "File size exeeds the limit of 2M bytes (upload_max_filesize)" ... can you help me ?


 
Posté : 10 Jan PM 15:011
(@babynus)
Posts: 14952
Membre Admin
 

Did you restart PHP/Apache after update of php.ini ?


 
Posté : 10 Jan PM 15:011
(@henricazaban)
Posts: 14
Active Member
 

yes with the command line "service apapche2 restart"


 
Posté : 10 Jan PM 15:011
(@babynus)
Posts: 14952
Membre Admin
 

Check Apache error log file, it may contain information on source of issue.


 
Posté : 10 Jan PM 17:011
(@henricazaban)
Posts: 14
Active Member
 

The error log file is empty ... I will check tomorrow after restart. thank you for your help !


 
Posté : 10 Jan PM 18:011
(@henricazaban)
Posts: 14
Active Member
 

Ok, I found the problem : I didn't edit the good php.ini : I edit this wrong file : /etc/php/7.0/cli/php.ini but not this good file : /etc/php/7.0/apache2/php.ini.


 
Posté : 11 Jan PM 18:011
Share:
Retour en haut