Re: OCI8 libraries not loading?
| From: | B. PERRINE | Date: | Thu, 11 Oct 2001 09:44:57 +0000 |
| Subject: | Re: OCI8 libraries not loading? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-13240@lists.php.net to get a copy of this message | ||
I notice when the oracle library (libclntsh.so.8.0) isn't found, apache
don't start with an error message on my servers.
The error message : "call to undefined function: OCILogon()", certainly
mean that php isn't compiled with the oci8 support.
To verify it : try to find the table named oci8 in the page generated
with phpinfo(). This table must be present.
B.
le mar 09-10-2001 at 22:09 Sheila Myers a écrit :
> I am trying to configure PHP 4.0.6 with Oracle 8.1.6 and Apache on
> Redhat 6.2. I've made this work before, but apparently my notes weren't
> as complete as I thought they were...
>
> Oracle is installed and working. I can access it from my workstation.
> PHP is working, and phpinfo() shows the Oracle environment variables set
> properly. But every time I try to connect to the database, I get the
> 'call to undefined function: OCILogon()' error. I'm thinking this means
> that for some reason the OCI libraries aren't being loaded, but I'm not
> sure where to go next to resolve it. The only thing I can think of is
> that when I installed Oracle, it apparently didn't install the client
> libraries, because ORACLE_HOME/oci/include was empty, so I copied them
> directory from my workstation (NT). Is this what messed me up? (I'm
> trying to re-run the Oracle installer, but now there's X11 issues
> preventing it from running, so I'm also chasing that rabbit.)
>
> Thanks for any help...
> Sheila
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net