RE: [PHP-DB] php problems with oracle 8i

From: Date: Tue, 10 Oct 2000 12:43:03 +0000
Subject: RE: [PHP-DB] php problems with oracle 8i
Groups: php.db 
Request: Send a blank email to php-db+get-3471@lists.php.net to get a copy of this message
heres my profile and php/apache build script. Be aware that this removes the apache tree for a clean install. Also put your tars in a downloads subdirectory... in other words just don't run it without reading through it first Hope it helps Tim Parkin Didio Communications profile ------ ORACLE_BASE=/db01/oracle export ORACLE_BASE ORACLE_HOME=$ORACLE_BASE/products/817 export ORACLE_HOME ORACLE_DOC=/export/home/oracle/docs export ORACLE_DOC PATH=.:/usr/bin:/usr/sbin:/opt/var:/usr/ccs/bin:/usr/local/bin:$ORACLE_HOME/ bin export PATH LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH CLASSPATH=$ORACLE_HOME/JRE/lib:$ORACLE_HOME/jlib:$ORACLE_HOME/product/jlib:$ CLASSPATH export CLASSPATH ORACLE_SID=dev export $ORACLE_SID build script --- #!/bin/ksh /usr/local/apache/bin/apachectl stop . profile env echo "removing /usr/local/apache" rm -r /usr/local/apache cd /export/home/tparkin echo "removing apache_1.3.12 build directory" rm -r apache_1.3.12 echo "removing php-4.0.2 build directory" rm -r php-4.0.2 echo "re-extracting source files" tar xvf downloads/apache_1.3.12.tar tar xvf downloads/php-4.0.2.tar cd apache_1.3.12 echo "configuring apache" ./configure --with-layout=Apache --prefix=/usr/local/apache --enable-module=so --enable-module=rewrite --enable -module=log_referer --enable-module=info --enable-module=status --add-module=src/modules/standard/mod_rewrite.c --add-module=src/modules/standard/mod_log_referer.c --add-module=src/modules/standard/mod_info.c --add-module= src/modules/standard/mod_status.c --enable-shared=max --server-uid=oracle --server-gid=dba cp src/modules/standard/mod_rewrite.h src/modules/extra/. echo "making apache" make echo "installing apache" make install cd ../php-4.0.2 echo "configuring php" ./configure --with-apxs=/usr/local/apache/bin/apxs --enable-track-vars=yes --enable-bcmatch=yes --enable-memor y-limit=yes --enable-magic-quotes=yes --enable-trans-sid=yes --enable-nodebug=yes --with-oci8=$ORACLE_HOME/lib --with-oracle=$ORACLE_HOME/lib --without-mysql --enable-libgcc echo "making php" make echo "installing php" make install echo "finished" cd /usr/local/apache/conf sed -e 's/ #AddType application\/x-httpd-php \.php/ AddType application\/x-httpd-php \.php/g' httpd.conf > httpd.conf.bak1 sed -e 's/ #AddType application\/x-httpd-php-source \.phps/ AddType application\/x-httpd-php-source \.php s/g' httpd.conf.bak1 > httpd.conf rm httpd.conf.bak1 cd ../bin /usr/local/apache/bin/apachectl start -----Original Message----- From: omar cromwell mercado [mailto:ocmercado@yahoo.com] Sent: Tuesday, October 10, 2000 10:14 To: php-db@lists.php.net Subject: [PHP-DB] php problems with oracle 8i hi, have anyone successfully compiled support for oracle 8i (8.1.6) on php running on apache 1.3.12? my apache dies when i compiled support for oracle. here is how i compiled it (DSO): ./configure --with-mysql --with-apxs=/www/bin/apxs --with-oracle=/u01/app/oracle/product/8.1.6 --enable-sigchild php compiles with no incident. however, when i run apache with the new php module, it just dies. i also tried installing without the --enable-sigchild option. i'd appreciate any help on this. thanks a lot in advance. omar cromwell mercado global paragon systems, nv __________________________________________________ Do You Yahoo!? Get Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ -- 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 (#3471) next »