编译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便可编译

相关文章
相关标签/搜索