Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

[SOLVED] file attac...
 
Notifications
Clear all

[SOLVED] file attached

8 Posts
3 Users
0 Reactions
4,886 Views
(@rmiroff)
Posts: 50
Active Member
Topic starter
 
[#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?


 
Posted : 05 May 2021 15H47
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

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


 
Posted : 05 May 2021 16H22
(@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 ?


 
Posted : 10 Jan 2022 15H49
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

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


 
Posted : 10 Jan 2022 15H50
(@henricazaban)
Posts: 14
Active Member
 

yes with the command line "service apapche2 restart"


 
Posted : 10 Jan 2022 15H54
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

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


 
Posted : 10 Jan 2022 17H33
(@henricazaban)
Posts: 14
Active Member
 

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


 
Posted : 10 Jan 2022 18H51
(@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.


 
Posted : 11 Jan 2022 18H34
Share:

Scroll to Top