db2 との php 接続を確立するには、ibm_db2 拡張機能をインストールする必要があります。だから私はpeclを使いました。しかし、それはエラーを生成します。
$ pecl install ibm_db2
これを実行すると、以下のエラーが発生します。
.....
checking in /home/db2inst1/sqllib/lib64...
checking in /home/db2inst1/sqllib/lib32... found
checking for DB2 CLI include files in default path... checking in /home/db2inst1/sqllib... not found
configure: error: Please reinstall the DB2 CLI distribution
ERROR: `/tmp/pear/temp/ibm_db2/configure --with-IBM_DB2=/home/db2inst1/sqllib' failed
助けてください。