Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(feat): permitir configurar o memory limit #35

Open
wants to merge 3 commits into
base: php8dot2
Choose a base branch
from

Conversation

viniciusss
Copy link
Member

A ideia é que os containers executados sem o apache (cli) não tenham limitação de memória.

@viniciusss viniciusss self-assigned this Nov 29, 2023
bin/apache-run Outdated
@@ -11,6 +11,10 @@ fi
sudo -E newrelic-setup
sudo -E opcache-setup

if [[ ${PHP_USE_MEMORY_LIMIT_APACHE} == true ]]; then
sudo cp /usr/local/etc/php/conf.d/php-memory-limit-apache.ini.dist /usr/local/etc/php/conf.d/php-memory-limit.ini
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do jeito q fez o configs/php-memory-limit.ini, acho q aqui poderia ser apenas:

Suggested change
sudo cp /usr/local/etc/php/conf.d/php-memory-limit-apache.ini.dist /usr/local/etc/php/conf.d/php-memory-limit.ini
export PHP_MEMORY_LIMIT=128M

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mui bueno

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants