Home > Article > Backend Development > Virtual memory exhausted: Cannot allocate memory when installing PHP source code
When compiling and installing php, the following error record appears in the log:
virtual memory exhausted: Cannot allocate memory
The solution found on php.net, the original link is: https://bugs.php.net/bug.php?id=48809
Solution: Install the php configuration file Add the configuration in quotes (excluding the quotes) "--disable-fileinfo"
').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });The above has introduced the problem of virtual memory exhausted: Cannot allocate memory when installing PHP source code, including the content. I hope it will be helpful to friends who are interested in PHP tutorials.