Home >Backend Development >PHP Problem >What to do if there is an error in php compilation

What to do if there is an error in php compilation

藏色散人
藏色散人Original
2020-08-13 09:02:521900browse

Solution to php compilation errors: First open and edit the Makefile; then find the "EXTRA_LIBS = ..... -lcrypt" item; then add "-liconv"; and finally re-make.

What to do if there is an error in php compilation

Recommended: "PHP Video Tutorial"

php compilation error

[Error description]

When Make compiles and installs php, collect2: ld returned 1 exit status make

[Solution]

Edit the Makefile at about line 144: EXTRA_LIBS = ..... -lcrypt Add -liconv at the end and remake

The above is the detailed content of What to do if there is an error in php compilation. For more information, please follow other related articles on the PHP Chinese website!

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