RE: [PHP-DB] Problem building PHP4 with Apache and Oracle8i - "Se gmentation Fa ult"

From: Date: Thu, 28 Sep 2000 17:58:40 +0000
Subject: RE: [PHP-DB] Problem building PHP4 with Apache and Oracle8i - "Se gmentation Fa ult"
Groups: php.db 
Request: Send a blank email to php-db+get-3147@lists.php.net to get a copy of this message
Follow up: from Joacius: "Can you connect to the database using sqlplus?" Yes, the apache user (user as which apache runs) can use Oracle client stuff. I logged in as apache and could use sqlplus. (".profile" for apache includes Oracle directories.) from Roberto: "What are all exact parameters you did to ./configure?" My configure looks like this: ./configure --with-xml --enable-sysvshm --disable-short-tags --with-hyperwave --with-apache=$APACHE_SRC --enable-track-vars=yes --enable-bcmatch=yes --enable-memory-limit=yes --enable-magic-quotes=yes --enable-trans-sid=yes --enable-nodebug=yes --with-oci8=$ORACLE_HOME --without-mysql --enable-libgcc When running the "make" for PHP though, there are some files that are not copied into the apache/modules/.. directory. I wrote this script to check and compensate: cd /usr/local/src/php/php-4.0.2 /bin/sh /usr/local/src/php/php-4.0.2/libtool --silent --silent --mode=install cp libphp4.la /usr/local/src/php /php-4.0.2/libs/libphp4.la >/dev/null 2>&1 /usr/local/src/php/php-4.0.2/build/shtool mkdir -p /usr/local/bin if test ! -r /usr/local/src/php/php-4.0.2/libs/libphp4.so; then \ for i in 0.0.0 0.0 0; do \ if test -r /usr/local/src/php/php-4.0.2/libs/libphp4.so.$i; then \ ln -s /usr/local/src/php/php-4.0.2/libs/libphp4.so.$i /usr/local/src/php/php-4.0.2/lib s/libphp4.so; \ break; \ fi; \ done; \ fi mkdir -p /usr/local/src/apache/apache_1.3.12/src/modules/php4; cp libs/libphp4.a /usr/local/src/apache/apache_ 1.3.12/src/modules/php4/libmodphp4.a; cp /usr/local/src/php/php-4.0.2//sapi/apache/mod_php4.* sapi/apache/libp hp4.module /usr/local/src/apache/apache_1.3.12/src/modules/php4; cp ./sapi/apache/apMakefile.tmpl /usr/local/s rc/apache/apache_1.3.12/src/modules/php4/Makefile.tmpl; cp ./sapi/apache/apMakefile.libdir /usr/local/src/apac he/apache_1.3.12/src/modules/php4/Makefile.libdir Cheers Marc > -----Original Message----- > Hi > > Using PHP 4.0.2 with Apache 1.3.12 on Sun/Solaris 2.6 with Oracle8i 8.1.5 > > Compilation (./configure - nake - make install) worked fine and when > starting apache, basic PHP stuff works fine too. But we can not establish > a > connection to Oracle. We don't get a straight error, rather nothing > happens, > but I found this in the apache log: > > > [Thu Sep 28 11:40:39 2000] [notice] child pid 11279 exit signal > Segmentation > Fault (11), possible coredump in > /usr/local/apache > > Now this tells me absolutly nothing. Don't have any idea what this means. > Can anybody help? > > Cheers > > Marc > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.db (#3147) next »