Ubuntu 10 Ubuntu 10 下安装PDO_IBM扩展
来源:互联网 发布:王者荣耀宫本皮肤优化 编辑:程序博客网 时间:2024/06/01 08:35
HOW TO INSTALL PDO_IBM WITH PECL
This worked for me:
1. Download the latest PDO IBM driver file from http://pecl.php.net/package/PDO_IBM
EX: PDO_IBM-1.3.1.tgz
2. Untar the file: tar -xvf PDO_IBM-1.3.1.tgz
3. Go to the main directory (directory that contains the config.m4 file)
4. Execute 'phpize' and that creates several files. Note: must have php5-dev installed ( sudo apt-get install php5-dev )for phpize to run.
5. There is a bug in the configure script. It can't find necessary header files, so you have to put them in the correct directory.
- Create the following folder structure: php/ext/pdo/ in the PDO_IBM-1.3.1/include/ directory
- Copy all the *.h files from /usr/include/php5/ext/pdo to the new pdo directory you just created above
6. Execute './configure --with-pdo-ibm=/home/db2inst1/sqllib'
7. Execute 'make'
8. Execute 'sudo make install'
9. Modify the /etc/apache2/php.ini file in order to activate the pdo_ibm.so extension.
extension=pdo_ibm.so
10. Restart Apache. (sudo service apache2 restart)
- Ubuntu 10 Ubuntu 10 下安装PDO_IBM扩展
- ubuntu下安装pdo扩展
- Ubuntu下安装php扩展
- ubuntu 下 imagick PHP扩展的安装
- ubuntu下安装php redis扩展
- ubuntu下php安装curl扩展库
- Ubuntu 12.04 下 php 安装 imageMagick 扩展
- ubuntu下安装 php的solr扩展
- ubuntu下php扩展插件的安装
- ubuntu下安装php PECL扩展 mongo
- ubuntu下安装php扩展curl
- ubuntu下安装phpredis的模块扩展
- Ubuntu下安装PHP的mongodb扩展
- Ubuntu下安装PHP Mcrypt扩展
- ubuntu 下安装 php mcrypt扩展
- Ubuntu下安装redis及php扩展
- ubuntu下 pdo_mysql扩展项详细安装
- ubuntu下安装php memcached扩展
- UVa OJ 673-Parentheses
- 扩展欧几里德算法 线性同余方程 中国剩余定理
- 自定义注释
- 一款免杀php大马的解密与去后门
- 关闭非模态窗口
- Ubuntu 10 Ubuntu 10 下安装PDO_IBM扩展
- 狼与羊群
- 无知者无畏——中国程序员和印度程序员的对话
- Linux平台开源浏览器
- 瞎子和小野兽
- 胃 与 脚
- java反射机制--得到注释
- 解决服务器不支持FLV与虚拟目录下FLV无法链接问题
- vim 中文乱码