PHP編譯錯誤解決:Don't know how to define struct flock on this system, set --enable-opcache=no

編譯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

相關文章
相關標籤/搜索