Bug #4104 Updated: Failure in starting Apache with Informix

From: Date: Fri, 21 Apr 2000 14:14:26 +0000
Subject: Bug #4104 Updated: Failure in starting Apache with Informix
Groups: php.dev 
Request: Send a blank email to php-dev+get-18101@lists.php.net to get a copy of this message
ID: 4104 Updated by: danny Reported By: regainfo@usa.net Status: Closed Bug Type: Installation problem Assigned To: Comments: Installation of "informix" option in Apache/PHP3 statically linked. The versions of Sofware pieces were: Linux RedHat 6.1 (Kernel 2.2.12 Glibc 2.1.2) Apache 1.3.12 PHP 3.0.15 Informix Client SDK 2.40.UC1-2 (For Linux 2.2.12 Glibc 2.1.2) I used a script, "informix.script" to set Environment Variables needed to make PHP and to run Apache: INFORMIXDIR="/usr/informix" export INFORMIXDIR PATH="$PATH:$INFORMIXDIR/bin" export PATH INFORMIXSERVER="order_entry_server" # entry in /usr/informix/etc/sqlhosts export INFORMIXSERVER LD_LIBRARY_PATH="/usr/informix/lib" export LD_LIBRARY_PATH As kindly suggested by Danny Heijl "dheijl@pandora.be",these were the steps: 1. . (point) informix.script 2. cd /usr/apache-1.3.12 3. ./configure --prefix="/usr/local/apache" 4. cd /usr/php-3.0.15 5. ./configure --with-informix=yes \ --with-apache="/usr/apache-1.3.12" \ --with-mysql \ # my own optional choice --with-xml # my own optional choice 6. make; make install 7. cp /usr/informix/lib/esql/*.so /usr/informix/lib # to avoid make Apache error "libifsql.so not found, etc" 8. cd /usr/apache-1.3.12 9. ./configure --activate-module=src/modules/php3/libphp3.a \ --enable-module=most \ --enable-module=so 10. make; make install 11. vi /usr/local/apache/conf/httpd.conf 12 vi /etc/rc.d/init.d/apachectl # (insert script "informix.script") After the succesfull make of Apache, PHP connection to Informix Remote Server, on a SCO UNIX machine, worked very fine. Remo Ronchitelli rremo@usa.net P.S. I missed the password to close the problen#4104 at http://bugs.php.net/ Full Bug description available at: http://bugs.php.net/?id=4104

« previous php.dev (#18101) next »