Jump to content

Uploading very large files (*** >4GB ***)


nexus76

Recommended Posts

this is my php.ini

 

[code=php:0]

engine = On

zend.ze1_compatibility_mode = Off
zend_extension = /etc/php5/ioncube_loader_lin_5.2.so
zend_extension = /etc/php5/ZendOptimizer_5.2.so
short_open_tag = On
asp_tags = Off
precision    =  12
y2k_compliance = On

output_buffering = 4096
zlib.output_compression = 
implicit_flush = Off
unserialize_callback_func=
serialize_precision = 100
allow_call_time_pass_reference = On

date.timezone ="UTC"
safe_mode = Off
safe_mode_gid = Off
safe_mode_include_dir =
safe_mode_exec_dir = /trusted_path
safe_mode_allowed_env_vars = PHP_,LANG,LANGUAGE
safe_mode_protected_env_vars = LD_LIBRARY_PATH
;disable_functions = symlink,leak,dl,stream_socket_server,stream_socket_sendto,exec,passthru,proc_open,proc_close,shell_exec,system,popen,set_time_limit,ini_alter,virtual,openlog
;disable_functions = symlink,leak,dl,stream_socket_server,stream_socket_sendto,shell_exec,popen,set_time_limit,ini_alter,virtual,openlog
disable_functions = symlink, leak, dl, stream_socket_server, stream_socket_sendto, popen, ini_alter, virtual, openlog
disable_classes =
expose_php = Off	 	; PHP version in server info anzeigen
register_globals = Off
file_uploads = On
allow_url_fopen = Off
allow_url_include = Off

max_execution_time = 1440 	; Maximum execution time of each script, in seconds
max_input_time = 1440 		; Maximum amount of time each script may spend parsing request data
memory_limit = 64M      	; Maximum amount of memory a script may consume (16MB)
post_max_size = 5000M
upload_max_filesize = 5000M

error_reporting = E_ALL & ~E_NOTICE

display_errors = On
display_startup_errors = Off
log_errors = Off
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
track_errors = Off
variables_order = "EGPCS"
register_long_arrays = On
register_argc_argv = On
auto_globals_jit = On
magic_quotes_gpc = On
magic_quotes_runtime = Off
magic_quotes_sybase = Off
auto_prepend_file =
auto_append_file =
default_mimetype = "text/html"
doc_root =
user_dir =
enable_dl = Off   ; Wichtig!
default_socket_timeout = 60

[syslog]
; Whether or not to define the various syslog variables (e.g. $LOG_PID,
; $LOG_CRON, etc.).  Turning it off is a good idea performance-wise.  In
; runtime, you can define these variables by calling define_syslog_variables().
define_syslog_variables  = Off

[sql]
sql.safe_mode = Off

[MySQL]
mysql.allow_persistent = On
mysql.max_persistent = -1
mysql.max_links = -1
mysql.default_port =
mysql.default_socket =
mysql.default_host =
mysql.default_user =
mysql.default_password =
mysql.connect_timeout = 60
mysql.trace_mode = Off

[PostgresSQL]
pgsql.allow_persistent = On
pgsql.auto_reset_persistent = Off
pgsql.max_persistent = -1
pgsql.max_links = -1
pgsql.ignore_notice = 0
pgsql.log_notice = 0

[bcmath]
; Number of decimal digits for all bcmath functions.
bcmath.scale = 0

[browscap]
;browscap = extra/browscap.ini

[session]
; Handler used to store/retrieve data.
session.save_handler = files
session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.cookie_httponly = 
session.serialize_handler = php
session.gc_divisor     = 100
session.gc_maxlifetime = 1440
session.bug_compat_42 = 1
session.bug_compat_warn = 1
session.referer_check =
session.entropy_length = 0
session.entropy_file =
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 0
session.hash_function = 0
session.hash_bits_per_character = 4
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="

[Tidy]
; The path to a default tidy configuration file to use when using tidy
;tidy.default_config = /usr/local/lib/php/default.tcfg

; Should tidy clean and repair output automatically?
; WARNING: Do not use this option if you are generating non-html content
; such as dynamic images
tidy.clean_output = Off

[soap]
; Enables or disables WSDL caching feature.
soap.wsdl_cache_enabled=1
; Sets the directory name where SOAP extension will put cache files.
soap.wsdl_cache_dir="/tmp"
; (time to live) Sets the number of second while cached file will be used 
; instead of original one.
soap.wsdl_cache_ttl=86400

; extension=imagick.so

extension=idn.so
extension=pgsql.so

[APC]
apc.enabled=0
apc.shm_segments=1
apc.optimization=0
apc.shm_size=128
apc.ttl=7200
apc.user_ttl=7200
apc.num_files_hint=1024
; apc.mmap_file_mask="/tmp/apc.XXXXXX"
apc.enable_cli=0

 

it's already set!

Link to comment
Share on other sites

PHPInfo attached as PDF.

 

The webserver has a total memory of:

 

MemTotal:      1048792 kB

MemFree:        64724 kB

Buffers:        141520 kB

Cached:        302088 kB

SwapCached:        16 kB

Active:        650464 kB

Inactive:      184864 kB

SwapTotal:    1048568 kB

SwapFree:      1048552 kB

Dirty:              20 kB

Writeback:          0 kB

AnonPages:      391756 kB

Mapped:          34160 kB

Slab:          103964 kB

SReclaimable:    96860 kB

SUnreclaim:      7104 kB

PageTables:          0 kB

NFS_Unstable:        0 kB

Bounce:              0 kB

WritebackTmp:        0 kB

CommitLimit:  1572964 kB

Committed_AS:  1021844 kB

VmallocTotal: 34359738367 kB

VmallocUsed:      800 kB

VmallocChunk: 34359737543 kB

 

Am I limited with the physical RAM uploading such large files?

 

[attachment deleted by admin]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.