mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-02-03 20:03:25 +01:00
Update install/ampache-install.sh
Co-authored-by: Chris <punk.sand7393@fastmail.com>
This commit is contained in:
committed by
GitHub
parent
c0ae7c3aa1
commit
63c763f411
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user