码迷,mamicode.com
首页 > Web开发 > 详细

PHP编译时错误解决:Don't know how to define struct flock on this system, set --enable-opcache=no

时间:2015-12-04 21:09:55      阅读:1199      评论:0      收藏:0      [点我收藏+]

标签:php

编译PHP5.6.16时出现了这个错误:

Don‘t know how to define struct flock on this system, set --enable-opcache=no



解决方法:

ln -s /usr/local/mysql/lib/libmysqlclient.so /usr/lib/
ln -s /usr/local/mysql/lib/libmysqlclient.so.18 /usr/lib/libmysqlclient.so.18


本文出自 “兰州linux运维” 博客,请务必保留此出处http://linuxzkq.blog.51cto.com/9379412/1719580

PHP编译时错误解决:Don't know how to define struct flock on this system, set --enable-opcache=no

标签:php

原文地址:http://linuxzkq.blog.51cto.com/9379412/1719580

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!