編譯PHP時候出現:configure: error: Don't know how to defi

編譯php出現:Don't know how to define struct flock on this system, set --enable-opcache=nophp

這是安裝php 5.5時的錯誤。
解決辦法以下:
複製 /etc/ld.so.conf   到/usr/local/libthis

cp   /etc/ld.so.conf    /usr/local/libspa

再執行 ldconfig便可編譯

相關文章
相關標籤/搜索