From owner-freebsd-database@FreeBSD.ORG Thu Mar 1 15:52:39 2007 Return-Path: X-Original-To: freebsd-database@freebsd.org Delivered-To: freebsd-database@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 996CC16A402 for ; Thu, 1 Mar 2007 15:52:39 +0000 (UTC) (envelope-from dan.cojocar@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.249]) by mx1.freebsd.org (Postfix) with ESMTP id 5F0B213C474 for ; Thu, 1 Mar 2007 15:52:39 +0000 (UTC) (envelope-from dan.cojocar@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so397512ana for ; Thu, 01 Mar 2007 07:52:38 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=dektGHo1ehHxWWsbkohkdY2+gSuFxIHmLmgbGODKAQM0z5YS5FkNr16SDs2eWJbncGUZAJWksFQpXTi/3hnBxF6XKUhcpHBtYA3C7hkQTuhLm9FfE0bVdLsnpUauHyF/hbLNW7qETjZprujtViwbTXVvbQKXw0K3/8FxhFrd8x8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=RpFKtThh1dpCQASj/Vvpui/UMoc8JD2S8bfrjX6uf2OgHFQI0pi6Uh6whovbsmeNO5x0pvwb4hjUsiu+JSD/BXEP5HU28iFtdo0APNoPmH4wzADWLPGRWZGoZPir8xPM3PaKEOG72RHMkiWLI6plBrixydZJ0IQuSAk33si1MzQ= Received: by 10.100.120.5 with SMTP id s5mr654083anc.1172762798895; Thu, 01 Mar 2007 07:26:38 -0800 (PST) Received: by 10.100.137.1 with HTTP; Thu, 1 Mar 2007 07:26:38 -0800 (PST) Message-ID: Date: Thu, 1 Mar 2007 17:26:38 +0200 From: "Dan Cojocar" To: freebsd-database@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: oracle php5-oci8 X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2007 15:52:39 -0000 Hello all, Can somebody that has an working php5-oci8 setup share his configuration? I have installed oracle XE, instantclient, native oracle8 client and php5-oci8 client extension, all were installed without errors, but when I run a script to connect to oracle it consumes a lot of cpu and nothing is happening. I used truss on: php -r '$conn = oci_connect("hr", "hr", "//localhost/XE");' and it's stuck on the following lines. close(3) = 0 (0x0) sigprocmask(SIG_SETMASK,SIGSEGV|SIGSYS|SIGPIPE|SIGALRM|SIGURG|SIGTSTP|SIGCHLD|SIGTTOU|SIGWINCH|SIGUSR2,0x0) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,SIGSEGV|SIGSYS|SIGPIPE|SIGALRM|SIGURG|SIGTSTP|SIGCHLD|SIGTTOU|SIGWINCH|SIGUSR2) = 0 (0x0) If someone would like the whole truss output I can provide it. I would appreciate any help to debug this issue. Thank you, Dan