Update install/ampache-install.sh

Co-authored-by: Chris <punk.sand7393@fastmail.com>
This commit is contained in:
CanbiZ (MickLesk)
2026-01-30 21:46:44 +01:00
committed by GitHub
parent c0ae7c3aa1
commit 63c763f411

View File

@@ -55,10 +55,10 @@ mariadb -u ampache -p"${MARIADB_DB_PASS}" ampache </opt/ampache/resources/sql/am
msg_ok "Imported Database Schema" msg_ok "Imported Database Schema"
msg_info "Configuring PHP" msg_info "Configuring PHP"
sed -i 's/upload_max_filesize = .*/upload_max_filesize = 100M/' /etc/php/8.4/apache2/php.ini sed -i -e 's/upload_max_filesize = .*/upload_max_filesize = 100M/' \
sed -i 's/post_max_size = .*/post_max_size = 100M/' /etc/php/8.4/apache2/php.ini -e 's/post_max_size = .*/post_max_size = 100M/' \
sed -i 's/max_execution_time = .*/max_execution_time = 600/' /etc/php/8.4/apache2/php.ini -e 's/max_execution_time = .*/max_execution_time = 600/' \
sed -i 's/memory_limit = .*/memory_limit = 512M/' /etc/php/8.4/apache2/php.ini -e 's/memory_limit = .*/memory_limit = 512M/' /etc/php/8.4/apache2/php.ini
$STD a2enmod rewrite $STD a2enmod rewrite
$STD systemctl restart apache2 $STD systemctl restart apache2
msg_ok "Configured PHP" msg_ok "Configured PHP"