RE: Oracle/PHP question...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	I am running Oracle 8.0.6.3.  Do I need both --with-oracle and
--with-oci8?  I was under the impression that I only needed the option
--with-oci8.  Thanks.

-----Original Message-----
From: Andrey Hristov [mailto:andrey@webgate.bg]
Sent: Tuesday, December 17, 2002 8:46 AM
To: NIPP, SCOTT V (SBCSI); php-db@lists.php.net
Subject: Re:  Oracle/PHP question... 


 As Anthony Carlos said - compile your php with oracle and oci support.
Then you will have all the functions from the modules. The next thing to do
after the compile (and web server restart). You said that you configured the
SID and the HOME so that's fine. Just compile new binary

Regards,
Andrey

----- Original Message -----
From: "NIPP, SCOTT V (SBCSI)" <sn4265@sbc.com>
To: "'Andrey Hristov'" <andrey@webgate.bg>; "xxx xxxx" <xde7ori@flash.ro>;
<php-db@lists.php.net>
Sent: Tuesday, December 17, 2002 4:37 PM
Subject: RE:  Oracle/PHP question...


> Correct.  I am working on Unix, specifically HP-UX 11.00.
>
> -----Original Message-----
> From: Andrey Hristov [mailto:andrey@webgate.bg]
> Sent: Tuesday, December 17, 2002 8:38 AM
> To: xxx xxxx; php-db@lists.php.net
> Subject: Re:  Oracle/PHP question...
>
>
> AFAIK he uses *nix, not windows.
> (.so-s are possible sollution but prebuilt ones are not shipped with php).
>
> Andrey
>
>
> ----- Original Message -----
> From: "xxx xxxx" <xde7ori@flash.ro>
> To: "Anthony Carlos" <anthony@digitalphenom.com>; <php-db@lists.php.net>
> Sent: Tuesday, December 17, 2002 4:32 PM
> Subject: Re:  Oracle/PHP question...
>
>
> > Hy,
> > in php.ini you have to uncomment the
> > ;extension=php_oci8.dll
> > ;extension=php_oracle.dll
> >
> > ; is a comment
> >
> > and restart the server....
> > cybercop78
> >
> >
> >
> >
> > On Tue, 17 Dec 2002 08:29:36 -0500, Anthony Carlos wrote
> > > Yes, you need to recompile PHP:
> ./configure --with-oci8=[your_oracle_home]
> > >
> > > -----Original Message-----
> > > From: NIPP, SCOTT V (SBCSI) [mailto:sn4265@sbc.com]
> > > Sent: Monday, December 16, 2002 1:58 PM
> > > To: 'php-db@lists.php.net'
> > > Subject:  Oracle/PHP question...
> > >
> > >     I am now trying to setup connectivity to a remote Oracle database
> > > for my PHP/Apache web server.  I am attempting to verify
> > > connectivity to the database by:
> > >
> > > <?php
> > > $connection = OCILogon("user", "password") or die ("Unable to logon
> > > to database."); ?>
> > >
> > >     I have installed the Oracle client on the system, and I have also
> > > setup the ORACLE_HOME and ORACLE_SID environment variables.
> Unfortunately
> > > at this point I am not even able to make a successful connection to
the
> > > Oracle database.  I am currently receiving the following error:
> > >
> > > Fatal error: Call to undefined function: ocilogon() in
> /www/DW/oratest.php
> > > on line 10
> > >
> > >     Do I need to recompile PHP to be Oracle aware or something?
> > > What is it I am missing at this point?  Thanks in advance. Scott
> > > Nipp Phone:  (214) 858-1289 E-mail:  sn4265@sbc.com Web:
> http:\\ldsa.sbcld.sbc.com
> > >
> > > --
> > > PHP Database Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >
> >
> >
> > http://www.idilis.ro - Stiri, e-mail gratuit, download,
> > SMS, server de counter-strike, hosting gratuit, servicii internet...
> > Fii cu un pas inaintea celorlati!
> >
> >
> > --
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux