note 43475 added to function.odbc-connect

From: Date: Tue, 22 Jun 2004 16:05:09 +0000
Subject: note 43475 added to function.odbc-connect
Groups: php.notes 
Request: Send a blank email to php-notes+get-71509@lists.php.net to get a copy of this message
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Compiling Apache + PHP + DB2 8.1 without the DATABASE instaled at the WebServer Machine! _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Go to the machine that you have DB2 DATABASE instaled and COPY the include files from the DB2 8.1 DataBase to the PHP source directory: Sample: [root@DB2_SERVER/usr/opt/db2_08_01/include]# scp * user@webserver:/usr/src/php-4.3.7/ext/odbc/. INSTALLING THE WEBSERVER! Enter in the WebServer as root and ... -- DB2 -- Install Administration Client Catalog the DataBases -- END DB2 -- -- LIB -- vi /etc/ld.so.conf add line: /opt/IBM/db2/V8.1/lib execute: ldconfig -- END LIB -- Download PHP + MODSSL + OPENSSL + APACHE! --- APACHE --- cd ../mod_ssl-2.8.18-1.3.31 ./configure --enable-module=so --with-apache=../apache_1.3.31 --with-ssl=../openssl-0.9.7d cd ../apache_1.3.31/ make make certificate TYPE=custom make install --- END APACHE --- OBS: CRIPT the CA.key DO NOT CRYPT server.key -- PHP -- cd ../php-4.3.7 ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql --with-pgsql --with-zip=/usr/local/lib --with-ibm-db2=/opt/IBM/db2/V8.1 make make install -- END PHP --- -- APACHE EDIT TO RUN DB2 -- vim /usr/local/apache/bin/apachectl add line: . /home/db2inst1/sqllib/db2profile -- END APACHE EDIT TO RUN DB2 -- NOW run /usr/local/apache/bin/apachectl startssl DONE !!!!! You have a WebServer with PHP with DB2,MYSQL,POSTGRES and SSL Support. Enjoy IT! []´s Helio Ferenhof ---- Manual Page -- http://www.php.net/manual/en/function.odbc-connect.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+43475 Delete -- http://master.php.net/manage/user-notes.php?action=delete+43475&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+43475&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#71509) next »