Home > Backend Development > PHP Tutorial > Linux installation php error record

Linux installation php error record

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-29 09:10:43
Original
1734 people have browsed it

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.

Related labels:
Statement of this Website
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
Latest Issues
nginx conf setting problem
From 1970-01-01 08:00:00
0
0
0
nginx conf global parameter configuration
From 1970-01-01 08:00:00
0
0
0
python - oslo_config
From 1970-01-01 08:00:00
0
0
0
php - nginx cannot be started, please help!
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template