#36880 [Opn->Fbk]: OciLogon crashes apache
| From: | tony2001@php.net | Date: | Mon, 27 Mar 2006 22:06:16 +0000 |
| Subject: | #36880 [Opn->Fbk]: OciLogon crashes apache | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-94941@lists.php.net to get a copy of this message | ||
ID: 36880
Updated by: tony2001@php.net
Reported By: jbond007 at atsat dot com
-Status: Open
+Status: Feedback
Bug Type: Apache2 related
Operating System: Linux RH4
PHP Version: 5.1.2
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2006-03-28 00:05:53] jbond007 at atsat dot com
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 this bug report at http://bugs.php.net/?id=36880&edit=1