[php-src] Issue #8116: PHP 8.1 Failed to set memory limit to ... bytes (Current memory usage is ... bytes)
| From: | iluuu1994 | Date: | Fri, 18 Feb 2022 08:43:45 +0000 |
| Subject: | [php-src] Issue #8116: PHP 8.1 Failed to set memory limit to ... bytes (Current memory usage is ... bytes) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-239864@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8116
Comment Author: iluuu1994
Not sure if it helps, but you could try setting
memory_limit in your php.ini so
you'll get an error when you actually allocate the memory. But yeah, if ini_set is
virtually the first call that sounds strange, although I know anything about the peculiarities of
Windows + Apache. What does var_dump(memory_get_usage()); when you put it at the very
top of index.php?