#39462 [Opn->Fbk]: Segmentation fault (11) when i change the file /opt/apache2/bin/envvars
| From: | tony2001@php.net | Date: | Fri, 10 Nov 2006 14:59:58 +0000 |
| Subject: | #39462 [Opn->Fbk]: Segmentation fault (11) when i change the file /opt/apache2/bin/envvars | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-104765@lists.php.net to get a copy of this message | ||
ID: 39462
Updated by: tony2001@php.net
Reported By: maremyanin at mera dot ru
-Status: Open
+Status: Feedback
Bug Type: OCI8 related
Operating System: SuSE
PHP Version: 5.2.0
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2006-11-10 14:54:29] maremyanin at mera dot ru
I have compiled the latest version but it didn't help. There is the
same error when the line "unset ORACLE_HOME" is put in the file
envvars.
------------------------------------------------------------------------
[2006-11-10 13:54:29] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
------------------------------------------------------------------------
[2006-11-10 13:52:50] maremyanin at mera dot ru
Description:
------------
I compile Apache+PHP with using Instantclient. For that are done the
changes in Makefile:
--with-oci8=instantclient,/opt/instantclient
Then I have to change the file /opt/apache2/bin/envvars. I
add the following lines:
unset ORACLE_BASE ORACLE_HOME ORA_NLS ORA_NLS33 ORACLE_SID
LD_LIBRARY_PATH
export NLS_LANG=AMERICAN_AMERICA.AL32UTF8
export LD_LIBRARY_PATH=/opt/instantclient:$LD_LIBRARY_PATH
But after starting Apache crashs.
If I delete ORACLE_HOME from the file, Apache works but PHP does not.
More details:
OS: SuSE Linux 9
uname -a:
Linux oracle 2.6.5-7.257-bigsmp #1 SMP Mon May 15 14:14:14 UTC 2006
i686 i686 i386 GNU/Linux
Apache 2.2.3
Oracle 10.2.0.1.0
PHP 5.1.2
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39462&edit=1