Linux环境的AMP安装 mbstring安装
Linux下mbstring安装
1、用cd命令进入php的源代码目录下的etc/mbstring目录下,如“/src/php5.2.5”,即“cd /src/php5.2.5”;
2、>/usr/local/php/bin/phpize (假设php安装在/usr/local/php目录下)
3、编译配置,>./configure --with-php-config=/usr/local/php/bin/php-config
4、执行make && make install
5、之后系统会提示你mbstring.so文件所在的目录。根据php.ini中指示的extension_dir指向的目录中,将其复制过去.或将
mbstring.so复制到/usr/local/php/ext目录下,在手配置参extension_dir="/usr/local/php
/ext"指向mbstring.so所在目录.
6、修改php.ini,添加一句extension=mbstring.so
7、然后重启apache:运行 /service httpd restart即可完成安装。
相关文档:
例一:发送Signaling Packet:
Signaling Command是2个Bluetooth实体之间的L2CAP层命令传输。所以得Signaling Command使用CID 0x0001.
多个Command可以在一个C-frame(control frame)中发送。
如果要直接发送Signaling Command.需要建立SOCK_RAW类型的L2CAP连接Socket。这样才有机会自己填充Command Code,Identi ......
学习Linux终端命令
linux目录架构
/ 根目录
/bin 常用的命令 binary file 的目錄
/boot 存放系统启动时必须读取的档案,包括核心 (kernel) 在内
/boot/grub/menu.lst GRUB设置
/boot/vmlinuz & ......
一些常用的基本命令:
uname -a 查看内核版本
ls -al 显示所有文件的属性
pwd 显示当前路径
cd - 返回上一次目录 &nbs ......
1、MYSQL的安装
1)首先当然是下载源码包咯,如:mysql-5.0.27的安装,http://www.mysql.com
2)解压缩,>tar -zxvf mysql-5.0.27.tar.gz
3)解压完成,进入mysql-5.0.27文件夹,>cd mysql-5.0.27
4)安装配置,>./configure --prefix=/opt/mysql --with-extra-charsets=all --with-unix-socket-path=/opt/m ......
4、mcrypt安装
1)安装mcrypt之前,必须安装libmcrypt和mhash,先去http://www.sourceforge.net
下载Libmcrypt,mhash,mcrypt安装包
2)先安装Libmcrypt
>tar -zxvf libmcrypt-2.5.8.tar.gz
>cd libmcrypt-2.5.8
>./conf ......