Larges Files Upload using Web File Manager won't Show Up Afterwards

Started by andrereyes_mzt, January 08, 2019, 07:35:49 PM

Previous topic - Next topic

andrereyes_mzt

Im using the file manager on CWP (/admin/fileManager2.php), every time I try to upload a file over 2MB, the file manager indicated the file has been uploaded sucessfully, but after refreshing the directory there is nowhere to be found, I tried with files smaller than 2 Mb and they worked fine.

I though it was a problem with PHP, so I went to edit /usr/local/cwp/php71/php.ini, I didn't change anything as settings seems right.
I have also review /usr/local/cwp/php/php.ini, and settings are fine too.

post_max_size = 64M
upload_max_filesize = 64M
max_file_uploads = 20

I am not sure were else do I have to look, as I cannot find more information in how to fix this issue.

andrereyes_mzt

Hi,

I disabled the rules 210230, 210240, 243930, 221270 in mod_Security, I did not get more errors on the log, and still did not work.
I uninstalled mod_security and still did not work.

Files above 2MB will not upload using the file manager.

I am open to any suggestions. 

GTMAN

What does PHP Setttings> PHP info show?

Whats's in /usr/local/php/php.ini

andrereyes_mzt

Quote from: GTMAN on January 11, 2019, 10:04:53 PM
What does PHP Setttings> PHP info show?

Show the same information as /usr/local/php/php.ini that apply to apache server, but the same settings do not apply to cwpsrv, php is stored in a different place and there no way to know the actual php values as in phpinfo() that cwpsrv is using.

Quote from: GTMAN on January 11, 2019, 10:04:53 PM
Whats's in /usr/local/php/php.ini
/usr/local/php/php.ini does not apply for cwpsrv

/usr/local/cwp/php71/php.ini & //use/local/cwp/php/php.ini are set to

memory_limit = 128M
post_max_size = 64M
upload_max_filesize = 64M
max_file_uploads = 20



cotlasweb


adamjedgar

This may seem a dumb way of checking...however, install WordPress and then use a WordPress plugin to check what settings WordPress detects for this user account php settings.

I have encountered this problem myself only a couple of days ago. I'm on my mobile now so I can't check easily how I resolved it.

As a workaround, would using ftp/ftpes program like filezilla to upload instead be an option?

Also, are you using php7 or php7-fpm?