aboutsummaryrefslogtreecommitdiffstats
path: root/.homeinstall
diff options
context:
space:
mode:
authorEiner von Vielen <tomwie@users.sourceforge.net>2017-12-18 23:27:57 +0100
committerEiner von Vielen <tomwie@users.sourceforge.net>2017-12-18 23:27:57 +0100
commit8a8c757327dacd3969102a02b95a3d467031ad69 (patch)
tree7a81c909147d8f131ceb779c838dae333d07b8e3 /.homeinstall
parent8c75ace6ecbac65917622d46601253b143ac659c (diff)
downloadvolse-hubzilla-8a8c757327dacd3969102a02b95a3d467031ad69.tar.gz
volse-hubzilla-8a8c757327dacd3969102a02b95a3d467031ad69.tar.bz2
volse-hubzilla-8a8c757327dacd3969102a02b95a3d467031ad69.zip
Increase upload file size to 100M in php.ini.
Diffstat (limited to '.homeinstall')
-rwxr-xr-x.homeinstall/hubzilla-setup.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/.homeinstall/hubzilla-setup.sh b/.homeinstall/hubzilla-setup.sh
index cc8ba4db3..66fdd433d 100755
--- a/.homeinstall/hubzilla-setup.sh
+++ b/.homeinstall/hubzilla-setup.sh
@@ -251,6 +251,9 @@ function install_php {
# openssl and mbstring are included in libapache2-mod-php
print_info "installing php..."
nocheck_install "libapache2-mod-php php php-pear php-curl php-mcrypt php-gd"
+ print_info "increase upload file size to 100M..."
+ sed -i "s/^upload_max_filesize =.*/upload_max_filesize = 100M/g" /etc/php/7.0/apache2/php.ini
+ sed -i "s/^post_max_size =.*/post_max_size = 100M/g" /etc/php/7.0/apache2/php.ini
}
function install_mysql {