Hello team,
I am trying to upload files of large size 50 mb to upload through el finder but it gives me error unable to upload file . I have set my file upload limit and post max size to 1024.
Please help as it really needed.
Try following settings in your php.ini
upload_max_filesize = 4G
post_max_size = 4.5G
open_basedir -> delete if exists
max_input_time = 600 (10 Minutes time for upload,extract or archive)
memory_limit = 512M
i have tried it but it does not work fine at the end it gives unable to upload file error.
it work fine up to 10 Mb. I am using elFinderVolumeMySQL.class.php for storage in database. is I have to make any changes in code?
Thanks
Which Webserver you use?
I need a web.config modification for my IIS called "RequestFiltering", who have restricted.
<security>
<requestFiltering allowDoubleEscaping="true">
<requestLimits maxAllowedContentLength="4294967295" />
<fileExtensions>
</fileExtensions>
</requestFiltering>
</security>
4294967295 is maximum allowed number and as result, it restricts around 4GB now.
Further you can check the connector.php and if option uploadMaxSize not exists you can set it:
'uploadMaxSize' => '4G'
Hi ,
I am using cpanel hosting and my content length is 18651100215699 .
where to set 18651100215699 my connector.php is
<?php
$opts = array(
// 'debug' => true,
'roots' => array(
array(
'driver' => 'MySQL',
'path' => 1,
// 'treeDeep' => 2,
'user' => 'username',
'pass' => 'pwd',
'db' => 'dbname',
'user_id' => 1,
'files_table' => 'elfinder_file',
'accessControl' => 'access',
'separator' => ':',
'copyTo' => false,
// 'URL' => 'url',
'tmbPath' => '../files/.dbtmb/',
'tmbURL' => dirname($_SERVER['PHP_SELF']) . '/../files/.dbtmb/',
'projectid'=>$projectId,
'uId'=>$uId,
// 'attributes' => array(
// array(),
// array(
// 'pattern' => '/\.jpg$/',
// 'read' => false,
// 'write' => false,
// 'locked' => true,
// 'hidden' => true
// )
// )
)
)
);
Thanks
Any way to upload large files using elfinder as increase all the necessary setting in php to upload large files but nothing work .
Thanks
Nope. You have to do those changes yourself in php.ini
I have done changes in php.ini file.
set 512MB as upload_max_filesize
I have confirmed it by phpinfo() and echo ini_get('upload_max_filesize').
still I can not upload more then 15MB
[email protected] λκ» λ³΄λ΄μ λ©μΌ λ°λ μ¬λμ΄ νμλμ λ©μΌμ μμ μ°¨λ¨ νμμ΅λλ€.
i have opened the limit in my iis to max of 4,7 GB works fine
Please check post_max_size of php.ini too.
And, elFinder 2.1 support chunked file uploding. elFinder 2.1+ doesn't have restrictions of php.ini.
Most helpful comment
i have opened the limit in my iis to max of 4,7 GB works fine