PHP upload / 업로드 용량 설정 / php.ini
PHP 업로드 용량 설정팁~
0 1 2 3 4 5 6 7 8 |
[root@server conf]# vi php.ini max_input_time = 360 max_execution_time = 360 memory_limit = 610M ost_max_size = 1024M upload_max_filesize = 1024M |
0 1 2 3 4 5 6 7 8 9 10 11 |
[root@server conf]# vi extra/httpd-vhosts.conf <VirtualHost *:80> DocumentRoot /free/home/rezard/html ServerName rezard.com ServerAlias www.rezard.com php_admin_value post_max_size "40M" php_admin_value upload_max_filesize "32M" CustomLog logs/access_log vcommon </VirtualHost> |
0 1 2 3 4 5 |
# 그외.. mod_security 가 설치되어 있다면... [root@server conf]# vi security.conf SecResponseBodyLimit 1048576000 SecRequestBodyLimit 1048576000 |