Skip to content

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
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.

3 participants