編譯安裝php 的時候, 執行make報錯誤
make: *** [ext/phar/phar.php] Error 127
#7 /ld.so.conf
在裡面加上一行/usr/local/lib
2.然後運行/sbin/ldconfig
/sbin/ldconfig/sbin
#make ZEND_EXTRA_LIBS='-liconv'
拋錯:
Generating phar.pharf3chm:modf3cho:Noboo directorymake: [ ext/phar/phar.phar] Error 1 (ignored)Build complete.
Don't forget to run 'make test'.cp ./phar.php ./phar.phar
然後到php5.4資料夾
#make ZEND_EXTRA_LIBS='-liconv'
#make ZEND_EXTRA_LIBS='-liconv'? install