2011年12月10日星期六

PHP 5.3 从源代码编译安装模块

一 默认模块 这些模块是默认编译安装的 除非编译前明确指定不安装



  1. ctype

  2. date 提供日期操作函数

  3. dom

  4. ereg

  5. fileinfo

  6. filter

  7. hash 提供哈希加密函数

  8. iconv 提供编码转换函数

  9. json 提供json数据格式转换函数

  10. libxml

  11. pcre 提供perl兼容正则表达式函数

  12. PDO

  13. pdo_sqlite

  14. Phar

  15. posix

  16. Reflection

  17. session

  18. SimpleXML

  19. SPL

  20. SQLite

  21. sqlite3

  22. standard

  23. tokenizer

  24. xml

  25. xmlreader

  26. xmlwriter




二 非默认模块 这些模块需要手动配置安装



  1. mysql 按如下方式配置,然后编译安装即可

    ./configure --with-apxs2=apache-dir/bin/apxs --with-mysql= mysql-dir

    其中apache-dir和mysql-dir分别为apache和mysql的安装目录







没有评论:

发表评论