PHP 5.3 从源代码编译安装模块
2011年12月10日 10时27分
一 默认模块 这些模块是默认编译安装的 除非编译前明确指定不安装
- ctype
- date 提供日期操作函数
- dom
- ereg
- fileinfo
- filter
- hash 提供哈希加密函数
- iconv 提供编码转换函数
- json 提供json数据格式转换函数
- libxml
- pcre 提供perl兼容正则表达式函数
- PDO
- pdo_sqlite
- Phar
- posix
- Reflection
- session
- SimpleXML
- SPL
- SQLite
- sqlite3
- standard
- tokenizer
- xml
- xmlreader
- xmlwriter
二 非默认模块 这些模块需要手动配置安装
- mysql 按如下方式配置,然后编译安装即可
./configure --with-apxs2=apache-dir/bin/apxs --with-mysql= mysql-dir
其中apache-dir和mysql-dir分别为apache和mysql的安装目录
2.3.4.5.6.7.