/usr/local/lib/php/extensions/no-debug-non-zts-20170718/oci8.so.so仅是共享库文件名的第二个猜测。您可以放心地忽略它。
实际的问题是:
(tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/oci8.so (libmql1.so: cannot open shared object file: No such fileor directory)
oci8.so本身取决于多个共享库,您可以使用
ldd找出哪些:
ldd /usr/local/lib/php/extensions/no-debug-non-zts-20170718/oci8.so linux-vdso.so.1 (0x00007ffc8bfe7000) libclntsh.so.12.1 => /usr/local/instantclient/libclntsh.so.12.1 (0x00007fb9919e0000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb991641000) libmql1.so => not found libipc1.so => not found libnnz12.so => not found libons.so => not found libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fb99143d000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fb991139000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fb990f1c000) libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007fb990d04000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fb990afc000) /lib64/ld-linux-x86-64.so.2 (0x00007fb994bc8000) libaio.so.1 => /lib/x86_64-linux-gnu/libaio.so.1 (0x00007fb9908fa000) libclntshcore.so.12.1 => not found
这些
.so文件似乎是您存储库中zip文件的一部分。像这样运行PHP
LD_LIBRARY_PATH=/usr/local/instantclient_12_1/php可以在容器内正常工作。您需要将这些文件移动到合理的位置。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)