PHP: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No
来源:互联网 发布:30岁女装品牌推荐 知乎 编辑:程序博客网 时间:2024/04/30 00:39
在执行PHP程序时遇到一个问题:php: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory
说找不到mysqlclient.so扩展,这里给一个可能的解决方法:
1、进入mysql安装目录查看,确认有libmysqlclient.so.16.0.0 文件, 于是需要在/usr/lib目录下建立一个软链接来指向libmysqlclient.so.16
2、在php lib目录下建立个软链接:(格式为:ln -s mysql lib路径 php lib路径)ln -s /home/openpf/app/mysql-5.1.56-2/lib/mysql/libmysqlclient.so.16 /home/openpf/app/php-5.3.3/lib/php/extensions/no-debug-non-zts-20090626/libmysqlclient.so
0 0
- PHP: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No
- error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such
- error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such
- ./bin/logServer: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or dir
- error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file
- error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: 的解决办法
- error while loading shared libraries: libmysqlclient_r.so.16: cannot open shared object file: No suc
- sphinx 运行出现 error while loading shared libraries: libmysqlclient.so.16: cannot open shared object
- error while loading shared libraries: libmysqlclient.so.16: cannot open
- error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file
- error while loading shared libraries: libXXX.so.x: cannot open shared object file: No such file
- error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file.....
- error while loading shared libraries: libiw.so.29: cannot open shared object file: No such file
- error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file
- error while loading shared libraries: XXX.so: cannot open shared object file: No such file...
- jps: error while loading shared libraries: libjli.so: cannot open shared object file: No such file..
- error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file
- error while loading shared libraries: libcudart.so.6.5: cannot open shared object file: No such file
- 利用mmc_test.c研究mmc模块
- jquery FullCalendar 官方文档翻译
- 面向对象程序设计上机练习一(函数重载)
- PSD素材网站
- 工作区和暂存区
- PHP: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No
- 八大排序算法总结
- 单精度与双精度浮点型
- linux服务器性能调优
- 茂名市高级技工学校(茂名一技)简介
- 有关Web 安全学习的片段记录(不定时更新)
- unix环境高级编程编译方法 -apue最简单编译方法(第二版)
- http的断点传送
- 程序员技术练级攻略