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
 [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 07:01:32 2024 UTC