Bug #7847 Updated: OCI8 support with Oracle 8.1.5 doesn't work
| From: | sander@php.net | Date: | Sat, 02 Feb 2002 11:41:09 +0000 |
| Subject: | Bug #7847 Updated: OCI8 support with Oracle 8.1.5 doesn't work | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-78875@lists.php.net to get a copy of this message | ||
ID: 7847
Updated by: sander@php.net
Reported By: msquillace@sogei.it
Status: Feedback
Bug Type: OCI8 related
Operating System: AIX 4.2
PHP Version: 4.0.3pl1
New Comment:
No feedback was provided for this bug, so it is being suspended.
If you are able to provide the information that was requested,
please do so and change the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2002-01-11 16:49:56] lobbin@php.net
Can you reproduce this with PHP 4.1.1?
------------------------------------------------------------------------
[2001-01-08 09:13:58] msquillace@sogei.it
Downloaded php4-200101080345 this morning and recompiled libphp4.so.
The problems remain. I had to find out an AIX 4.3.3 server in order to
keep the project in schedule; I successfully built a STATIC php module
there, including a working OCI8 extension. I couldn't build a working
AIX 4.3 DSO even though I followed the advice in bug #4630.
------------------------------------------------------------------------
[2001-01-07 19:42:19] sniper@php.net
Does this happen with latest snapshot from http://snaps.php.net/
??
--Jani
------------------------------------------------------------------------
[2000-12-07 05:46:25] msquillace@sogei.it
I have been testing several other extensions and standard PHP functions
on my AIX 4.2 server, and discovered the following:
1) can't successfully build PHP with socket support
2) fsockopen fails as described for OCI8
3) curl fails as described for OCI8
Since OCIServerAttach must certainly work with sockets at some point,
may this point to some kind of incompatibility between PHP and AIX 4.2
socket code?
------------------------------------------------------------------------
[2000-11-22 11:10:55] msquillace@sogei.it
Made some other tests ...
1) Recompiled gcc from sources, using both the
binary AIX 4.2 gcc distro and the standard
IBM cc compiler. Regenerated apache+mod_php+
oci8 support with the new gcc binary.
I observed the exact same problems.
2) Returned to using the binary AIX 4.2 gcc
distro from aixpdslib.seas.ucla.edu, I
liberally inserted fprintf debug statements
in oci8.c in order to pinpoint the instruction causing the error.
Here is my final trace:
Entering oci_do_connect function ...
Before ecalloc
After ecalloc
Before _oci_open_server
Entering _oci_open_server function ...
Before zend_hash_find
After zend_hash_find
Before OCIHandleAlloc
After OCIHandleAlloc
Before OCIServerAttach
pServer:20123f9c pError:2012420c dbname:f40_7 dbnamel:5
As you can see, oci8.c never returns from the
OCIServerAttach call.
The arguments to that call, listed on the last trace
line, look valid enough to me ...
(To Thies Arntzen: I receive all your emails, but our e-mail server
apparently cannot deliver my replies to mail2.easyspace.com and is
bouncing them all back ... please post your advice here)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=7847
Edit this bug report at http://bugs.php.net/?id=7847&edit=1