Re: PHP + OCI en Debian
| From: | Christopher Jones | Date: | Thu, 27 Apr 2006 23:24:06 +0000 |
| Subject: | Re: PHP + OCI en Debian | ||
| References: | 1 2 3 4 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-41763@lists.php.net to get a copy of this message | ||
The original article on installing PHP with Oracle Instant Client
is at http://www.oracle.com/technology/pub/notes/technote_php_instant.html
Make sure you get the re-factored (i.e. much better) oci8 extension from
http://cvs.php.net/php-src/ext/oci8/
or
http://pecl.php.net/package/oci8
Chris
(Sorry for late reply - I'm catching up from being out of the office
for three weeks)
SJL wrote:
I was surfing in the web, and I found this: http://www.akadia.com/services/ora_php_linux.html Describe how to recompile php with oci8 librarys, in apache2 under Linux or Solaris. May be it will be usefull for someone else. Thanks anyway, Sebastian On 3/23/06, SJL <sjlavena.listas@gmail.com> wrote:-- Christopher Jones, Oracle Corporation, Australia. Email: Christopher.Jones@oracle.com Blog: http://blogs.oracle.com/opal/Ok, I think that you say to me that´s is not possible to compile oci8.c separate... When you say "compile with extra option --with-oci8", you mean something like: make --with-oci8 makefile? Sorry for the ignorance... Thanks again, Sebastian On 3/22/06, Chris <dmagick@gmail.com> wrote:SJL wrote:Someone install any time the Oracle Client to use the OCI interface to connect a Oracle DB? I'm working in Debian. I installed the Client of Oracle from a package from the official page... but I don´t know how to configure php.ini to make the OCI API works..Now that you've installed Oracle Instant Client you need to get php to recognise it's there (so it can create the oci8.so file). I'm not sure if there is a package to do this or if you'll have to compile php from source with the extra option: --with-oci8 I suspect you'll have to compile php from source, you won't be able to use a package to do this, but I could be wrong. -- Postgresql & php tutorials http://www.designmagick.com/