Edit report at http://bugs.php.net/bug.php?id=44989&edit=1

 ID:                 44989
 Comment by:         jbnance at tresgeek dot net
 Reported by:        stevec at engr dot oregonstate dot edu
 Summary:            64bit Oracle RPMs still not supported by pdo-oci
 Status:             No Feedback
 Type:               Bug
 Package:            PDO related
 Operating System:   Linux
 PHP Version:        5.2.6
 Assigned To:        sixd
 Block user comment: N

 New Comment:

Bug still exists in 5.3.3.  Patch uploaded.


Previous Comments:
------------------------------------------------------------------------
[2010-08-04 01:03:29] jbnance at tresgeek dot net

Patch attached for config.m4.



Notes for end users, in order to use this you have to rebuild configure


(buildconf --force after applying the patch).



After applying and rebuilding, the following should work:



./configure --with-pdo-oci=instantclient,/usr,10.2.0.4

or

./configure --with-pdo-oci=shared,instantclient,/usr,10.2.0.4



Note that this is different from the non-PDO OCI configure option:



--with-oci8=instantclient,/usr/lib/oracle/10.2.0.4/client64/lib

or

--with-oci8=shared,instantclient,/usr/lib/oracle/10.2.0.4/client64/lib



(the version is a parameter in the PDO OCI option).

------------------------------------------------------------------------
[2009-05-03 01:00:13] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------
[2009-04-27 15:55:23] stevec at eng dot orst dot edu

I'm still seeing the same problem with the latest CVS snapshot
(php5.2-200904271430).  What it comes down to is the code is only
looking for 'client' directories.  The Oracle RPMs put everything in
'client64' directories.



/usr/include/oracle/11.1.0.1/client64

/usr/lib/oracle/11.1.0.1/client64



As the previous poster mentioned, if you link the client directory in
both of those directories to client64, then the compile works fine. 
That seems a bit of a kludge though.

------------------------------------------------------------------------
[2009-04-25 15:06:21] j...@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/



------------------------------------------------------------------------
[2008-07-22 08:03:42] noel dot rambaud at free dot fr

Create a link client-> client64 in directory
/usr/include/oracle/version_instantclientoracle



idem in /usr/lib/oracle/version_instantclientoracle

------------------------------------------------------------------------


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/bug.php?id=44989


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=44989&edit=1

Reply via email to