编译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
本文转自 linuxzkq 51CTO博客,原文链接:http://blog.51cto.com/linuxzkq/1719580