mirror of
https://github.com/librenms/docker.git
synced 2026-01-23 10:15:22 +00:00
Set memory limit in php.ini (#24)
This commit is contained in:
parent
034a9b2606
commit
46da123304
1 changed files with 2 additions and 0 deletions
|
|
@ -83,6 +83,8 @@ echo "Setting PHP-FPM configuration..."
|
|||
sed -e "s/@MEMORY_LIMIT@/$MEMORY_LIMIT/g" \
|
||||
-e "s/@UPLOAD_MAX_SIZE@/$UPLOAD_MAX_SIZE/g" \
|
||||
/tpls/etc/php7/php-fpm.d/www.conf > /etc/php7/php-fpm.d/www.conf
|
||||
echo "Setting PHP INI configuration..."
|
||||
sed -i -e "s|memory_limit.*|memory_limit = ${MEMORY_LIMIT}|" /etc/php7/php.ini
|
||||
|
||||
# OpCache
|
||||
echo "Setting OpCache configuration..."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue