Home >Backend Development >PHP Tutorial >linux - 编译php5.6 Don't know how to define struct flock on this system
Error: Don't know how to define struct flock on this system, set --enable-opcache=no
libmcrytp (encryption algorithm extension library) is compiled manually, what should I do?
Error: Don't know how to define struct flock on this system, set --enable-opcache=no
libmcrytp (encryption algorithm extension library) is compiled manually, what should I do?
Quoted from http://www.mamicode.com/info-detail-1096994.html
Solution 1:
See the official php documentation for solution. Add --with-libdir=lib64 in configure
Solution 2:
Edit /etc/ld.so.conf
According to the system, add include /etc/ld.so.conf,
Then execute ldconfig to reload it; (if an error occurs, change to vi /etc/ld.so.conf >> include /usr/local/libmcrytp/lib/)