#39462 [Opn->Fbk]: Segmentation fault (11) when i change the file /opt/apache2/bin/envvars
| From: | tony2001@php.net | Date: | Fri, 10 Nov 2006 13:54:29 +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-104758@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:
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
Previous Comments:
------------------------------------------------------------------------
[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