#27620 [Fbk]: Apache Child Segfaults Using OCI8 and "PutEnv"
| From: | derick@php.net | Date: | Wed, 17 Mar 2004 09:11:35 +0000 |
| Subject: | #27620 [Fbk]: Apache Child Segfaults Using OCI8 and "PutEnv" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-56576@lists.php.net to get a copy of this message | ||
ID: 27620
Updated by: derick@php.net
Reported By: bmuller at milchstrasse dot de
Status: Feedback
Bug Type: OCI8 related
Operating System: RedHat ES 3
PHP Version: 5CVS-2004-03-17 (dev)
New Comment:
5$ that it crashes inside the Oracle library ;-)
Previous Comments:
------------------------------------------------------------------------
[2004-03-17 03:37:16] tony2001@php.net
You're right, ocilogon() doesn't connect, but it should generate
'ORA-12154: TNS:could not resolve service name' error as it does for
me.
It shouldn't segfault anyway.
------------------------------------------------------------------------
[2004-03-17 03:23:24] derick@php.net
Since when does putenv work? The libraries are initialized before the
script runs...
------------------------------------------------------------------------
[2004-03-17 03:10:11] tony2001@php.net
Derick, it should work with putenv() too.
[bmuller at milchstrasse dot de], plz, provide a backtrace.
Read here: http://bugs.php.net/bugs-generating-backtrace.php
about
generating a backtrace.
------------------------------------------------------------------------
[2004-03-17 03:05:54] bmuller at milchstrasse dot de
Thanks for the RTFM, but when something segfaults, I think it IS a
problem, and yes, I _did_ set the env before starting the webserver.
This application has been running on PHP 4.x for the last 2 years,
_without_ segfaulting. Don't you guys thing a more professional
solution / comment would be apropriate?
Thanks in advance.
------------------------------------------------------------------------
[2004-03-17 03:00:43] derick@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
You need to set the environment BEFORE starting your webserver, RTFM.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/27620
--
Edit this bug report at http://bugs.php.net/?id=27620&edit=1