当前位置:Gxlcms > PHP教程 > linux-编译php5.6Don'tknowhowtodefinestructflockonthissystem

linux-编译php5.6Don'tknowhowtodefinestructflockonthissystem

时间:2021-07-01 10:21:17 帮助过:18人阅读

错误: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/)

人气教程排行