note 18777 added to function.odbc-connect

From: Date: Tue, 05 Feb 2002 14:40:03 +0000
Subject: note 18777 added to function.odbc-connect
Groups: php.notes 
Request: Send a blank email to php-notes+get-26258@lists.php.net to get a copy of this message
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ odbc_connect ERRO at DB2 _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ To Solve the problem with DB2 + PHP folow this steps! INSTALL THE PROGRAM LIKE THIS! -- DB2 -- Install the DataBank Install Application Tools -- END DB2 -- --- APACHE --- cd ../mod_ssl-2.8.5-1.3.22/ ./configure --enable-module=so --with-apache=../apache_1.3.22/ --with-ssl=../openssl-0.9.6c/ cd ../apache_1.3.22/ make make certificate TYPE=custom make install --- END APACHE --- -- PHP -- cd ../php-4.1.1/ ./configure --with-apxs=/usr/local/apache/bin/apxs --with-pgsql --with-mysql --with-ibm-db2=/usr/IBMdb2/V7.1 make make install -- END PHP --- -- LIB -- vim /etc/ld.so.conf add line: /usr/IBMdb2/V7.1/lib execute: ldconfig -- END LIB -- To Solve the error ODBC_CONNECT exec the db2profile at the apachectl!!! Like this! -- APACHE EDIT TO RUN DB2 -- vim /usr/local/apache/bin/apachectl add line: . /usr/home/db2inst1/sqllib/db2profile -- END APACHE EDIT TO RUN DB2 -- NOW run /usr/local/apache/bin/apachectl startssl DONE !!!!! You have a DB2 + APACHE + SSL + PHP + MYSQL + POSTGRES . Enjoy []´s Helio Ferenhof -- http://www.php.net/manual/en/function.odbc-connect.php http://master.php.net/manage/user-notes.php?action=edit+18777 http://master.php.net/manage/user-notes.php?action=delete+18777 http://master.php.net/manage/user-notes.php?action=reject+18777

« previous php.notes (#26258) next »