#39462 [NEW]: Segmentation fault (11) when i change the file /opt/apache2/bin/envvars
| From: | maremyanin at mera dot ru | Date: | Fri, 10 Nov 2006 13:52:51 +0000 |
| Subject: | #39462 [NEW]: Segmentation fault (11) when i change the file /opt/apache2/bin/envvars | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-104757@lists.php.net to get a copy of this message | ||
From: maremyanin at mera dot ru
Operating system: SuSE
PHP version: 5.2.0
PHP Bug Type: OCI8 related
Bug description: Segmentation fault (11) when i change the file /opt/apache2/bin/envvars
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 bug report at http://bugs.php.net/?id=39462&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39462&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39462&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39462&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39462&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=39462&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=39462&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=39462&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=39462&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=39462&r=support
Expected behavior: http://bugs.php.net/fix.php?id=39462&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=39462&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=39462&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39462&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39462&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39462&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=39462&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=39462&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=39462&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=39462&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=39462&r=mysqlcfg