Ubuntu下安装pdo_ibm

  1. 下载pdo_ibm并解压缩到任意文件夹: pecl download pdo_ibm
  2. 编辑config.m4,把所有/usr/include/php/替换成/usr/include/php5/
  3. 使用phpize5初始化编译环境
  4. grep当前文件夹看看新生成的文件中是否有/usr/include/php/,有的话就通通用/usr/include/php5/替换掉
  5. ./configure并指定db2的目录到任意账户的sqllib目录
  6. make && make install吧
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *