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

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

WBOY
Release: 2016-06-23 13:47:56
Original
1587 people have browsed it

在编辑PHP5.6.1时出现了这个错误:

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


解决方法是:

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

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template