Jump to content
Fórum Script Brasil
  • 0

PHP x Apache Derby


Paulo Correia
 Share

Question

Pessoal,

Estou tentando fazer o PHP se comunicar com o Derby, mas estou apanhando.

Já fui no site da IBM e baixei o DB2 for Linux, UNIX and Windows no link http://www-01.ibm.com/support/docview.wss?uid=swg21385217

Descompactei o arquivo

Fui na pasta php_driver/linuxamd64/php64 e copiei os .so para a pasta de modules do PHP, crie os ini's correspondentes.

Aí deu por falta do libdb2.so.1 que fui na pasta odbc_cli_driver/linuxamd64 e extrai o ibm_data_server_driver_for_odbc_cli.tar.gz

Copiei todos os libdb gerados para pasta /usr/lib e /usr/lib64

E o teste da IBM não funciona e dá erro Call to undefined function db2_connect()

Estou usando debian, 64bits.

Alguém já conseguiu fazer o PHP ler do Derby ?

Como ?

Desde já agradeço,

Pauilo 

 

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Forum Statistics

    • Total Topics
      149.6k
    • Total Posts
      646.2k
×
×
  • Create New...