![]() |
|
Thread Tools |
#1
|
|||
|
|||
Attachment upload
Hello,
I am running vb 4.2.2 and having an issue attaching files larger than 60mb. Attachments are stored in the file system. my values are set at. PHP 5.6.40 PHP Max Post Size 100 MB PHP Maximum Upload Size 200 MB PHP Memory Limit 500.00 The file I'm trying to attach is 85MB it get to about 51% then. This site can’t be reached The connection was reset. Try: Checking the connection Checking the proxy and the firewall ERR_CONNECTION_RESET My host thinks it's because of the php version being to low, but I'm pretty sure I was able to upload more than this before they switch me to a new server so webuzo could be installed. Anyone have any suggestion? Thank you No members have liked this post.
|
#2
|
|||
|
|||
Did you verify the attachment type in the admincp allows the type of file you’re uploading to be that large?
Did you check the log files on the server?
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
|
#3
|
|||
|
|||
Originally Posted by snakes1100
Hi snakes,![]()
yes it's a zip and set to zip 238.42 MB I just tried to upload again to get a fresh error log..this is it. [Sat Feb 16 11:34:47.059119 2019] [proxy_fcgi:error] [pid 4181] (32)Broken pipe: [client my ip address:43944] AH01075: Error dispatching request to : (sending stdin), referer: https://legitfta.com/forum/newattachment.php?values[f]=116&contenttypeid=1&poststarttime=1550334467&posthash=88b9cccb84401761ec2fbf107 e730db2 No members have liked this post.
|
#4
|
|||
|
|||
You running php-fpm?
You'll need to up the timeouts for php-fpm
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
|
#5
|
|||
|
|||
In the regular php I set it to
max_execution_time = 600 ; Maximum execution time of each script, in seconds max_input_time = 600 ; Maximum amount of time each script may spend parsing request data made no difference not sure where to find php-fpm to edit No members have liked this post.
|
#6
|
|||
|
|||
No, in php-fpm.conf
--------------- Added 16 Feb 2019 at 21:43 --------------- You might need to adjust max children for php-fpm as well
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
|
#7
|
|||
|
|||
where would I find this file to edit please.
No members have liked this post.
|
#8
|
|||
|
|||
what mpm are you using worker, prefork or event
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
|
#9
|
|||
|
|||
That is total over my head, sorry no idea what any of those terms mean.
No members have liked this post.
|
#10
|
|||
|
|||
That depends on the server you're using, what panel you may be using etc.
If mlocate is installed: cmd: updatedb then run locate php-fpm.conf or find / -name php-fpm.conf -print If this is cpanel, it controls php-fpm differently as well as plesk doing its thing. --------------- Added 16 Feb 2019 at 21:53 --------------- [[email protected] src]# httpd -t -D DUMP_MODULES | grep mpm mpm_prefork_module (shared)
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
|
#11
|
|||
|
|||
I'm on a vps using webuzo as my control panel
No members have liked this post.
|
#12
|
|||
|
|||
No idea on that CP.
Run the cmd's i gave you in SSH
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
|
#13
|
|||
|
|||
I cant login from ssh
No members have liked this post.
|
#14
|
|||
|
|||
Id suggest you look in the CP & see if it has a ssh terminal or settings for php-fpm & apache.
Try to rebuild apache with the prefork mpm if you can. --------------- Added 17 Feb 2019 at 09:51 --------------- According to the webuzo demo, it shows you can enable & disable ssh, did you see if ssh is enabled? http://demo.webuzo.com/enduser/index.php?act=ssh_access
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
|
#15
|
|||
|
|||
Originally Posted by snakes1100
Okay did the ssh and used the find command..this is what i got.![]()
# find / -name php-fpm.conf -print /var/softaculous/apps/php54/php-fpm.conf /var/softaculous/apps/php53/php-fpm.conf /var/softaculous/apps/php72/php-fpm.conf /var/softaculous/apps/php55/php-fpm.conf /var/softaculous/apps/php70/php-fpm.conf /var/softaculous/apps/php56/php-fpm.conf /var/softaculous/apps/php73/php-fpm.conf /var/softaculous/apps/php71/php-fpm.conf /usr/local/emps/etc/php-fpm.conf /usr/local/webuzo/conf/webuzo/emps/php-fpm.conf /usr/local/webuzo/conf/webuzo/php-fpm.conf /usr/local/apps/backup/php56_20190216070304/etc/php-fpm.conf /usr/local/apps/php56/etc/php-fpm.conf No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 02:08.