編譯PHP5.6.16時出現了這個錯誤:mysql
Don't know how to define struct flock on this system, set --enable-opcache=nosql
解決方法:ide
ln -s /usr/local/mysql/lib/libmysqlclient.so /usr/lib/
ln -s /usr/local/mysql/lib/libmysqlclient.so.18 /usr/lib/libmysqlclient.so.18this