note 106139 added to ref.pdo-oci
| From: | php at ideacode dot com | Date: | Thu, 13 Oct 2011 14:28:11 +0000 |
| Subject: | note 106139 added to ref.pdo-oci | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-183851@lists.php.net to get a copy of this message | ||
If you're getting the "I'm too dumb to find oci.h" error, try creating a variety
of paths. One variety uses just the major and minor of your OIC version (eg, 11.2 for 11.2.0.2) and
another variety uses client64 as well as client.
Something like this (for 11.2.0.2):
ln -s /usr/include/oracle/11.2.0.2/ /usr/include/oracle/11.2
ln -s /usr/include/oracle/11.2/client /usr/include/oracle/11.2/client64
ln -s /usr/lib/oracle/11.2.0.2/ /usr/lib/oracle/11.2
ln -s /usr/lib/oracle/11.2/client /usr/lib/oracle/11.2/client64
This should cover your bases for 64-bit systems, as well as PHP patched to use the major.minor
version number only. See also PHP bug #44989.
----
Server IP: 69.147.83.197
Probable Submitter: 24.148.140.136
----
Manual Page -- http://www.php.net/manual/en/ref.pdo-oci.php
Edit -- https://master.php.net/note/edit/106139
Del: integrated -- https://master.php.net/note/delete/106139/integrated
Del: useless -- https://master.php.net/note/delete/106139/useless
Del: bad code -- https://master.php.net/note/delete/106139/bad+code
Del: spam -- https://master.php.net/note/delete/106139/spam
Del: non-english -- https://master.php.net/note/delete/106139/non-english
Del: in docs -- https://master.php.net/note/delete/106139/in+docs
Del: other reasons-- https://master.php.net/note/delete/106139
Reject -- https://master.php.net/note/reject/106139
Search -- https://master.php.net/manage/user-notes.php