摘要:
由于PHP源码中并未有redis的文件,所以需要自己下载。 下载地址: http://pecl.php.net/get/redis-2.2.5.tgz [root@study package]# tar zxf redis-2.2.5.tgz [root@study package]# cd red 阅读全文
摘要:
php安装扩展模块的思路: 1,首先找到需要安装的扩展模块的目录。一般在/usr/local/php/ext目录下 但是有的模块php源码中不一定有,需要自己下载比如memcache、redis等。 2,通过phpize工具生成configure文件。 3,./configure -with-php 阅读全文
摘要:
./bin/mysqld: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or dire 可以看出缺少库文件 libstdc++.so.5。 到官方 阅读全文
摘要:
Apache 2.X 支持插入式并行处理模块,称为多路处理模块(MPM)。在编译apache时必须选择也只能选择一个MPM,对类UNIX系统,有几个不同的MPM可供选择,它们会影响到apache的速度和可伸缩性。 Prefork MPM : 这个多路处理模块(MPM)实现了一个非线程型的、预派生的w 阅读全文
摘要:
apache 安装扩展模块 1,首先要确认你是否加载了mod_so模块,这个就是你在编译前参数配置的时候添加-enable-so(启用DSO)。如果你没有这模块的话,是无法安装扩展模块的。 /usr/local/apache2/bin/apachectl -l 在列出来的内容如果有mod_so,则说 阅读全文