Zend Core For IBM ã®phpããDB2 9.5ã«db2_connectã§æ¥ç¶æã«ããã件
Zend Core For IBM 2.0.3ã使ã£ã¦ãã¨DB2 9.5ã¸ã®æ¥ç¶ãã©ãããããããªãã¾ãã
ãããªã¨ã©ã¼ãã§ã¾ããã
[IBM][CLI Driver] SQL1042C An unexpected system error occurred. SQLSTATE=58004 SQLCODE=-1042
åå ã¯Zend Core For IBM 2.0.3ãæã£ã¦ãããlibdb2.so.1ããã©ããæªããããã§ãã®ã§
DB2ã¨ã³ã¸ã³ãDB2ã¯ã©ã¤ã¢ã³ãä»å±ã®libdb2.so.1ã使ãããã«ãã¾ãããã
æ¥ç¶ãã³ã±ããµã¼ãã§ã¯ãã¶ããããªæããªã®ã§
# ll /usr/local/Zend/Core/lib/libdb2.so.1
- rwxr-xr-x 1 3800 7777 18004739 2æ 11 2007 /usr/local/Zend/Core/lib/libdb2.so.1
libdb2.so.1ããã£ããéé¿ããã¦
# mv /usr/local/Zend/Core/lib/libdb2.so.1 /usr/local/Zend/Core/lib/libdb2.so.1_old
ã·ã³ããªãã¯ãªã³ã¯ãå¼µãã
# ln -s /opt/ibm/db2/V9.5/lib32/libdb2.so.1 /usr/local/Zend/Core/lib/libdb2.so.1
apacheãåèµ·å
# /usr/local/Zend/apache2/bin/apachectl stop
# /usr/local/Zend/apache2/bin/apachectl start
64ãããæ©ã¯ã·ã³ããªãã¯ãªã³ã¯ãå¼µãã¨ãã¯
# ln -s /opt/ibm/db2/V9.5/lib64/libdb2.so.1 /usr/local/Zend/Core/lib/libdb2.so.1
ã§ããã
Zend Core For IBM 1.5ç³»ãapacheãå¥å£ã§å
¥ããå ´åã
ZendCoreã®ã¤ã³ã¹ãã¼ã©ã¼ã§ãã©ã¤ãã¼ãã¤ã³ã¹ãã¼ã«ããªãã£ãå ´åã¯
å¤å大ä¸å¤«ã§ãã
ã¡ãªã¿ã«ä¸è¨ã®å¯¾å¿ä¾ãZend Core For IBM 1.5ç³»ã®ããã«
ã©ã¤ãã©ãªã«ã·ã³ããªãã¯ãªã³ã¯ãå¼µã£ã¦ããã¨
DB2ããã¤ã°ã¬ã¼ã·ã§ã³ããå ´åãDB2ã¯ã©ã¤ã¢ã³ããå
¥ãæ¿ããå ´åã¯
ã©ã¤ãã©ãªã®ã·ã³ããªãã¯ãªã³ã¯ã®å¼µæ¿ããå¿ããã«ã»ã»
ï¼èªåã¯å¿ãã¦ã¾ããï¼ï½ï¼