Home  >  Article  >  Backend Development  >  Linux installation php error record

Linux installation php error record

WBOY
WBOYOriginal
2016-07-29 09:10:431569browse

1. Error report:
virtual memory exhausted: Cannot allocate memory
make: * [ext/fileinfo/libmagic/apprentice.lo] Error 1
Solution:
Adding –disable-fileinfo to ./configure solves the problem.

2. Error report:
collect2: ld returned 1 exit status
make: * [sapi/cli/php] Error 1
Solution:
vim Makefile
Jump to about line 98. Modify EXTRA_LIBS = ..... -lcrypt and add -liconv at the end

3. Error:
[root@iZ28rvl9qn3Z ~]# ERROR: No pool defined. at least one pool section must be specified in config file

Solution:
It turns out that php-fpm.conf includes /usr/local/php7/etc/php-fpm.d/*.conf
Only www.conf.defaul, you need to mv www.conf.default www.conf

').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });

The above introduces the error record of Linux installation of PHP, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn