127 error solution

WBOY
Release: 2016-07-29 08:55:37
Original
4287 people have browsed it

When compiling and installing php, an error is reported when executing make
make: *** [ext/phar/phar.php] Error 127

The solution is as follows:

#vi /etc /ld.so.conf

Add a line in it
/usr/local/lib

2. Then run /sbin/ldconfig

#/sbin/ldconfig

Compile make

#make ZEND_EXTRA_LIBS='-liconv'

Error:

Generating phar.phar
chmod: cannot access `ext/phar/phar.phar': No such file or directory
make: [ ext/phar/phar.phar] Error 1 (ignored)
Build complete.
Don't forget to run 'make test'.
You can ignore it here, but the solution is as follows

#cd ext/phar/
# cp ./phar.php ./phar.phar

Then go to the php5.4 folder

#make ZEND_EXTRA_LIBS='-liconv'

#make test

#make install

The above introduces the solution to the 127 error report, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
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 Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!