From: jbond007 at atsat dot com Operating system: Linux RH4 PHP version: 5.1.2 PHP Bug Type: Apache2 related Bug description: OciLogon crashes apache
Description: ------------ I installed php 5.1.2 working with Apache 2.2 (the problem occurs with Apache 1.X.Y too and with php4.X too). When I ask <?phpinfo()?> everything appears correctly, ORACLE_HOME, LD_LIBRARY_PATH and other env vars are correct. But OciLogon crashes apache with a segmentation Fault, each time I use it. If I use Ocilogon with php in cgi mode, it works fine, and I could connect to my database, but not with apache. Reproduce code: --------------- ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-openssl --with-bz2 --with-mysql=/usr/local/mysql --enable-ftp --with-oci8=/oraclebase/u01/app/oracle/product/10.2.0 --enable-bcmath --enable-calendar --enable-sigchild --with-pdo-oci=/oraclebase/u01/app/oracle/product/10.2.0 The script to start apache is: ORACLE_BASE=/oraclebase/u01/app/oracle export ORACLE_BASE ORACLE_HOME=$ORACLE_BASE/product/10.2.0 export ORACLE_HOME LD_LIBRARY_PATH=$ORACLE_HOME/lib export LD_LIBRARY_PATH /usr/local/apache/bin/apachectl start -- Edit bug report at http://bugs.php.net/?id=36880&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36880&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36880&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36880&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36880&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36880&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36880&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36880&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36880&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36880&r=support Expected behavior: http://bugs.php.net/fix.php?id=36880&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36880&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36880&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36880&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36880&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36880&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36880&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36880&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36880&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36880&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36880&r=mysqlcfg