Added (commented-out) PHP config directives for changing maximum upload size
This commit is contained in:
parent
e7ca8bfa12
commit
21e7433e78
@ -1 +1,9 @@
|
|||||||
IndexIgnore *
|
IndexIgnore *
|
||||||
|
|
||||||
|
# Uncomment these lines to change PHP parameters if you are using the PHP Apache module
|
||||||
|
#<IfModule mod_php5.c>
|
||||||
|
# php_value max_execution_time 300
|
||||||
|
# php_value post_max_size 100M
|
||||||
|
# php_value upload_max_size 100M
|
||||||
|
# php_value max_file_uploads 100
|
||||||
|
#</IfModule>
|
||||||
|
7
.user.ini
Normal file
7
.user.ini
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
; Uncomment these lines to change PHP parameters if you are using PHP with CGI or FastCGI. Only works with PHP starting from 5.3.0.
|
||||||
|
; Note that with FastCGI, you might also want to set FcgidBusyTimeout and FcgidIOTimeout in your Apache config
|
||||||
|
|
||||||
|
;max_execution_time = 60
|
||||||
|
;post_max_size = 100M
|
||||||
|
;upload_max_size = 100M
|
||||||
|
;max_file_uploads = 100
|
@ -15,6 +15,8 @@ To run Lychee, everything you need is a web-server with PHP 5.3 or later and a M
|
|||||||
|
|
||||||
Settings are located inside the `php/config.php`. All settings are optional and doesn't need to be changed. [Settings »](https://github.com/electerious/Lychee/wiki/Settings)
|
Settings are located inside the `php/config.php`. All settings are optional and doesn't need to be changed. [Settings »](https://github.com/electerious/Lychee/wiki/Settings)
|
||||||
|
|
||||||
|
If you experience problems uploading large amounts of photos, you might want to change the PHP parameters in `.htaccess` (if you are using the PHP Apache module) or in `.user.ini` (if you are using PHP >= 5.3 with CGI or FastCGI).
|
||||||
|
|
||||||
## How to use
|
## How to use
|
||||||
|
|
||||||
After the configuration, navigate your browser to the place where Lychee is located. Everything should work now.
|
After the configuration, navigate your browser to the place where Lychee is located. Everything should work now.
|
||||||
|
Loading…
Reference in New Issue
Block a user