php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18778 segfault --with-config-file-path
Submitted: 2002-08-07 07:23 UTC Modified: 2002-08-08 17:20 UTC
From: dirk at poper dot de Assigned:
Status: Not a bug Package: OCI8 related
PHP Version: 4.2.2 OS: SuSe 7.3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dirk at poper dot de
New email:
PHP Version: OS:

 

 [2002-08-07 07:23 UTC] dirk at poper dot de
if i complie php 4.2.2

./configure --with-mysql --with-apxs --with-config-file-path=/etc/httpd --with-oci8=ORACLE_HOME

in that way (ORACLE_HOME is set in the enviroment) I get no errors. But after starting apache 

Starting service httpd-D MODULES -D PHP4 -D SSL -D SUSEHELPSyntax OK
/etc/rc.d/apache: line 140: 18699 Segmentation fault

also strace didn't deliver any additional information.

If I complie php 4.2.2 ./configure --with-mysql --with-apxs --with-config-file-path=/etc/httpd 
every think is working without connections to oracle.
Any ideas?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-07 07:39 UTC] yohgaki@php.net
This is a dup. 
Something wrong in virtual_file_ex() in TSRM.

Get rid of --with-config-file-path, then it should work.

BTW, we usually don't need strace, but need backtrace.
 [2002-08-07 08:01 UTC] edink@php.net
This is probably due to apache not being linked with pthread library. Please follow the install instructions on http://www.php.net/manual/en/ref.oci8.php and reopen this report if it does not help.

Also souldn't you configure read --with-oci8=$ORACLE_HOME (missing $ sign).
 [2002-08-08 17:20 UTC] dirk at poper dot de
Sorry - that didn#T work
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 07 21:01:30 2024 UTC