Re: Anyone have oci8 working on MacOSX?
| From: | Sapporo | Date: | Fri, 30 May 2003 07:50:12 +0000 |
| Subject: | Re: Anyone have oci8 working on MacOSX? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-149530@lists.php.net to get a copy of this message | ||
I compiled 4.3.1 as Apache module and also installed the CLI (which I'm not using). Compilation was not a problem here either - it's just that oci8 crashes whenever I try to use it.
Here's my configure command:
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --mandir=/usr/share/man --with-apxs --with-zlib-dir=/usr --enable-trans-sid --enable-exif --enable-wddx --enable-ftp --enable-mbstring --enable-dbx --enable-dbase --enable-sockets --with-oci8=/Users/oracle/9iR2/orahome
Did you modifiy your Apache startup file to set any environment variables?
Thanks,
-sapporo.
What version of PHP are you using, and are you using both CLI and Apache module at the same time? I compiled it at work with no huge problems. Wes On Thursday, May 29, 2003, at 06:45 PM, Sapporo wrote:Hi, is anyone sucessfully using the oci8 Oracle extension on MacOSX? Whenever I try to connect using OCILogon(), oci8 crashes: May 30 00:33:19 localhost crashdump: Unable to write crash report to /Library/Logs/CrashReporter/httpd.crash.log for uid: 70 Date/Time:2003-05-30 00:33:19 +0200 OS Version: 10.2.6 (Build 6L60) Host: myhostname.local. Command: httpd PID: 1400 Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000 Thread 0 Crashed: #0 0x90000f20 in strlen #1 0x0193a0e8 in snauca_check_adapter #2 0x01913670 in nau_viat #3 0x0190ba18 in nau_gettab #4 0x0190a100 in nau_ini #5 0x018ba6f4 in nainit #6 0x018dad3c in nsnainit #7 0x0189c478 in nsopen #8 0x0189b160 in nscall1 #9 0x0189a948 in nscall #10 0x018fdc38 in niotns #11 0x0188749c in osncon #12 0x01713c6c in upiini #13 0x0172428c in upiah0 #14 0x016e6ae4 in kpuatch #15 0x0171b7d0 in OCIServerAttach #16 0x007834e4 in _oci_open_server (oci8.c:2437) #17 0x00783b68 in oci_do_connect (oci8.c:2590) #18 0x00855758 in execute (zend_execute.c:1596) #19 0x0084769c in zend_execute_scriptTIA, -sapporo. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php