首页 >后端开发 >php教程 >linux - 编译php5.6 Don't know how to define struct flock on this system

linux - 编译php5.6 Don't know how to define struct flock on this system

WBOY
WBOY原创
2016-08-04 09:21:301472浏览

错误:Don't know how to define struct flock on this system, set --enable-opcache=no
libmcrytp(加密算法扩展库)是手动编译的,这个怎么办呢?

回复内容:

错误:Don't know how to define struct flock on this system, set --enable-opcache=no
libmcrytp(加密算法扩展库)是手动编译的,这个怎么办呢?

引用自http://www.mamicode.com/info-detail-1096994.html
解决方法一:

查看php官方文档解决. 在configure 里面加上 --with-libdir=lib64

解决方法二:

编辑/etc/ld.so.conf

根据系统,加入include /etc/ld.so.conf,

然后执行ldconfig,使其重新加载一次;(如果出错改为vi /etc/ld.so.conf >> include /usr/local/libmcrytp/lib/)

linux - 编译php5.6 Don't know how to define struct flock on this system

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn