ID:               27620
 User updated by:  bmuller at milchstrasse dot de
 Reported By:      bmuller at milchstrasse dot de
 Status:           Bogus
 Bug Type:         OCI8 related
 Operating System: RedHat ES 3
 PHP Version:      5CVS-2004-03-17 (dev)
 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------

[2004-03-17 03:00:43] [EMAIL PROTECTED]

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.

------------------------------------------------------------------------

[2004-03-17 02:49:28] bmuller at milchstrasse dot de

Description:
------------
When Using OCI8 and the required "PutEnv" from PHP 4.x in the newest
CVS Build, the Apache Child Segfaults



[Tue Mar 16 17:56:28 2004] [notice] child pid 2931 exit signal
Segmentation fault (11)



and the Browser (IE) reports a "No page to show" (translated from
German).

Reproduce code:
---------------
<?



putenv("ORACLE_HOME=/home/oracle");

        

$database_connection=OCILogon"scott","tiger","my_database");

if(!$database_connection) die("NO Database!") else printf("Connection
Established");



?>

Expected result:
----------------
The Browser should show "Connection Established"

Actual result:
--------------
and the Browser (IE) reports a "No page to show" (translated from
German).


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=27620&edit=1

Reply via email to