ples work
This commit is contained in:
parent
3ead2f2c8e
commit
f94034e70e
@ -13,8 +13,6 @@ fi
|
||||
# Start php dep
|
||||
echo "Starting PHP"
|
||||
service php8.1-fpm start
|
||||
# I don't know how to fix this properly, but it works.
|
||||
chmod 777 /run/php/php8.1-fpm.sock
|
||||
|
||||
echo "Setting max upload size to ${MAX_UPLOAD_SIZE}"
|
||||
sed -i "s/^upload_max_filesize = .*/upload_max_filesize = ${MAX_UPLOAD_SIZE}/" /etc/php/8.1/fpm/php.ini
|
||||
@ -24,6 +22,9 @@ sed -i "s/^post_max_size = .*/post_max_size = ${MAX_UPLOAD_SIZE}/" /etc/php/8.1/
|
||||
echo "Restarting PHP to apply changes for max upload size"
|
||||
service php8.1-fpm restart
|
||||
|
||||
# I don't know how to fix this properly, but it works.
|
||||
chmod 777 /run/php/php8.1-fpm.sock
|
||||
|
||||
# Start Nginx
|
||||
echo "Starting Nginx"
|
||||
nginx -g "daemon off;"
|
Loading…
x
Reference in New Issue
Block a user