编译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
PHP编译时错误解决:Don't know how to define struct flock on this system, set --enable-opcache=no
时间: 2024-10-10 06:33:39