Apache, PHP and IBM DB2...
Posted: Thu Feb 20, 2003 2:22 pm
Hello everyone. I am new to these forums.
I have a question about PHP and IBM DB2. Basically, I am installing apache 1.3.27, PHP 4.3.1 and IBM DB2 v.8.1 on a Red Hat 8.0 server.
I did find a thread in these forums that talked about this. Here is the link:
viewtopic.php?t=5860&highlight=ibm+db2
I have been having problems compiling PHP for support for IBM DB2. I was receiving a error that I was unable to figure out. That is when I came across this forum.
In reading that particular thread, I thought of a couple questions.
Basically, there are references in the previous thread about making sure certain modules were compiled into apache. Granted, I am still new to PHP, Apache and IBM DB2, but I am learning.
What I want to do is compile apache/php so I can use them in conjunction with IBM DB2. However, I am not entirely sure on how to do this. Here is what I did when I compiled apache and PHP:
Apache:
--prefix=/usr/local/apache --enable-module=so
PHP:
--with-mysql --with-apxs=/usr/local/apache/bin/apxs
for IBm DB2, I had set the following option with PHP:
--with-ibm-db2=/home/db2insta1/sqllib
Now, I am not sure if I this is all correct and I was hoping that someone might be able to point out my error.
Does anyone have any suggestions on what I could be doing incorrectly? I could really use the help as I barely have any hair left after this episode.
Tarballed
I have a question about PHP and IBM DB2. Basically, I am installing apache 1.3.27, PHP 4.3.1 and IBM DB2 v.8.1 on a Red Hat 8.0 server.
I did find a thread in these forums that talked about this. Here is the link:
viewtopic.php?t=5860&highlight=ibm+db2
I have been having problems compiling PHP for support for IBM DB2. I was receiving a error that I was unable to figure out. That is when I came across this forum.
In reading that particular thread, I thought of a couple questions.
Basically, there are references in the previous thread about making sure certain modules were compiled into apache. Granted, I am still new to PHP, Apache and IBM DB2, but I am learning.
What I want to do is compile apache/php so I can use them in conjunction with IBM DB2. However, I am not entirely sure on how to do this. Here is what I did when I compiled apache and PHP:
Apache:
--prefix=/usr/local/apache --enable-module=so
PHP:
--with-mysql --with-apxs=/usr/local/apache/bin/apxs
for IBm DB2, I had set the following option with PHP:
--with-ibm-db2=/home/db2insta1/sqllib
Now, I am not sure if I this is all correct and I was hoping that someone might be able to point out my error.
Does anyone have any suggestions on what I could be doing incorrectly? I could really use the help as I barely have any hair left after this episode.
Tarballed