php -m报错:

PHP Warning: PHP Startup: Unable to load dynamic library 'swoole' (tried: /home/work/study/soft/php/lib/php/extensions/no-debug-non-zts-20170718/swoole (/home/work/study/soft/php/lib/php/extensions/no-debug-non-zts-20170718/swoole: cannot open shared object file: No such file or directory), /home/work/study/soft/php/lib/php/extensions/no-debug-non-zts-20170718/swoole.so (libhiredis.so.0.13: cannot open shared object file: No such file or directory)) in Unknown on line 0

解决方案:

用vi打开当前用户的bash_profile

vi ~/.bash_profile
在最后一行添加:   export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

最后再 source ~/.bash_profile

最新文章

  1. 查看openssl的版本
  2. Course Schedule II
  3. metaspace之三--Metaspace解密
  4. About-JavaOOAD
  5. C语言内存对齐详解(3)
  6. ArrayList和LinkList区别
  7. iOS开发——UI篇Swift篇&UIScrollView
  8. [SQL Server系] -- 视图
  9. JavaScript的事件代理(转)
  10. 浅述Oracle分布式事务概念
  11. 11.C++-临时对象分析
  12. [ 搭建Redis本地服务器实践系列三 ] :图解Redis客户端工具连接Redis服务器
  13. MapServer Tutorial——MapServer7.2.1教程学习——第一节用例实践:Example1.7 Adding a wms layer
  14. codeforces水题100道 第一题 Codeforces Beta Round #1 A. Theatre Square (math)
  15. nodejs tutorials
  16. 2017ACM暑期多校联合训练 - Team 4 1004 HDU 6070 Dirt Ratio (线段树)
  17. JavaScript匿名函数的使用
  18. 如何将JS里变量的值赋给文本框
  19. Window Server 2008 R2 安装 Share Point 2013
  20. cs231n神经网络 常用激活函数

热门文章

  1. [JavaEE] Testing the Java EE Application : Basic Arquillian integration test
  2. zookeeper+kafka配置
  3. HTML5权威指南之—第三章
  4. Python FAQ1:传值,还是传引用?
  5. BNU 13064 Dice (I) 前缀和优化DP
  6. js中的slice()、substring()、substr()、split()、join()、indexof()
  7. ecshop的一些东西,来看看
  8. P1462 通往奥格瑞玛的道路(二分答案+最短路)
  9. Ajax实现文件的上传
  10. Android App签名(为apk签名)