docker - why is memory_limit in php.ini not updating memory size?
Get the solution ↓↓↓Good day!
I am using thephp: 8.0-rc-fpm
image for my php-fpm
container. Also I am using theintrusion
library to generate and process images. The problem is that there is not enough memory and every time I get an error:
Fatal error: Allowed memory size 134217728 bytes exhausted (tried to allocate 24576 bytes)
this means that the server does not have enough 128MB of data, but when I add thememory.ini
entry to the file'' memory_limit = 512 MB
''
then the actual value of the limit does not change. If you enter the command inside the container:
php -r "echo ini_get ('memory_limit'). PHP_EOL;"
then i get the answer
512M
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: filter_sanitize_string
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.