first commit
This commit is contained in:
5
apacheConf/apache2.conf
Normal file
5
apacheConf/apache2.conf
Normal file
@ -0,0 +1,5 @@
|
||||
#Add these lines to apache2.conf
|
||||
<Directory /var/www/html/uploads/>
|
||||
Options -Indexes -FollowSymLinks
|
||||
php_flag engine off
|
||||
</Directory>
|
24
apacheConf/php.ini
Normal file
24
apacheConf/php.ini
Normal file
@ -0,0 +1,24 @@
|
||||
|
||||
; Maximum size of POST data that PHP will accept.
|
||||
; Its value may be 0 to disable the limit. It is ignored if POST data reading
|
||||
; is disabled through enable_post_data_reading.
|
||||
; http://php.net/post-max-size
|
||||
;post_max_size = 8M
|
||||
post_max_size = 5G
|
||||
|
||||
; Whether to allow HTTP file uploads.
|
||||
; http://php.net/file-uploads
|
||||
file_uploads = On
|
||||
|
||||
; Temporary directory for HTTP uploaded files (will use system default if not
|
||||
; specified).
|
||||
; http://php.net/upload-tmp-dir
|
||||
;upload_tmp_dir =
|
||||
|
||||
; Maximum allowed size for uploaded files.
|
||||
; http://php.net/upload-max-filesize
|
||||
;upload_max_filesize = 2M
|
||||
upload_max_filesize = 5G
|
||||
|
||||
; Maximum number of files that can be uploaded via a single request
|
||||
max_file_uploads = 20
|
Reference in New Issue
Block a user