[PHP-DB] Oracle/PHP question...

2002-12-17 Thread Anthony Carlos
Yes, you need to recompile PHP: ./configure --with-oci8=[your_oracle_home]

-Original Message-
From: NIPP, SCOTT V (SBCSI) [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 1:58 PM
To: '[EMAIL PROTECTED]'
Subject: [PHP-DB] 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:  [EMAIL PROTECTED]
Web:  http:\\ldsa.sbcld.sbc.com


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




Re: [PHP-DB] Oracle/PHP question...

2002-12-17 Thread xxx xxxx
Hy,
in php.ini you have to uncomment the 
;extension=php_oci8.dll
;extension=php_oracle.dll

; is a comment

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:[EMAIL PROTECTED]]
 Sent: Monday, December 16, 2002 1:58 PM
 To: '[EMAIL PROTECTED]'
 Subject: [PHP-DB] 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:  [EMAIL PROTECTED] 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




Re: [PHP-DB] Oracle/PHP question...

2002-12-17 Thread xxx xxxx
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:[EMAIL PROTECTED]]
 Sent: Monday, December 16, 2002 1:58 PM
 To: '[EMAIL PROTECTED]'
 Subject: [PHP-DB] 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:  [EMAIL PROTECTED] 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




Re: [PHP-DB] Oracle/PHP question...

2002-12-17 Thread Andrey Hristov
AFAIK he uses *nix, not windows.
(.so-s are possible sollution but prebuilt ones are not shipped with php).

Andrey


- Original Message -
From: xxx  [EMAIL PROTECTED]
To: Anthony Carlos [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, December 17, 2002 4:32 PM
Subject: Re: [PHP-DB] 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:[EMAIL PROTECTED]]
  Sent: Monday, December 16, 2002 1:58 PM
  To: '[EMAIL PROTECTED]'
  Subject: [PHP-DB] 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:  [EMAIL PROTECTED] 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




RE: [PHP-DB] Oracle/PHP question...

2002-12-17 Thread NIPP, SCOTT V (SBCSI)
Correct.  I am working on Unix, specifically HP-UX 11.00.

-Original Message-
From: Andrey Hristov [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 17, 2002 8:38 AM
To: xxx ; [EMAIL PROTECTED]
Subject: Re: [PHP-DB] 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  [EMAIL PROTECTED]
To: Anthony Carlos [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, December 17, 2002 4:32 PM
Subject: Re: [PHP-DB] 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:[EMAIL PROTECTED]]
  Sent: Monday, December 16, 2002 1:58 PM
  To: '[EMAIL PROTECTED]'
  Subject: [PHP-DB] 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:  [EMAIL PROTECTED] 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




Re: [PHP-DB] Oracle/PHP question...

2002-12-17 Thread Andrey Hristov
 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) [EMAIL PROTECTED]
To: 'Andrey Hristov' [EMAIL PROTECTED]; xxx  [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Tuesday, December 17, 2002 4:37 PM
Subject: RE: [PHP-DB] Oracle/PHP question...


 Correct.  I am working on Unix, specifically HP-UX 11.00.

 -Original Message-
 From: Andrey Hristov [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, December 17, 2002 8:38 AM
 To: xxx ; [EMAIL PROTECTED]
 Subject: Re: [PHP-DB] 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  [EMAIL PROTECTED]
 To: Anthony Carlos [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Tuesday, December 17, 2002 4:32 PM
 Subject: Re: [PHP-DB] 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:[EMAIL PROTECTED]]
   Sent: Monday, December 16, 2002 1:58 PM
   To: '[EMAIL PROTECTED]'
   Subject: [PHP-DB] 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:  [EMAIL PROTECTED] 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




Re: [PHP-DB] Oracle/PHP question...

2002-12-17 Thread Andrey Hristov
Compile with --with-oci8

Andrey

- Original Message -
From: NIPP, SCOTT V (SBCSI) [EMAIL PROTECTED]
To: 'Andrey Hristov' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, December 17, 2002 4:56 PM
Subject: RE: [PHP-DB] Oracle/PHP question...


 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:[EMAIL PROTECTED]]
 Sent: Tuesday, December 17, 2002 8:46 AM
 To: NIPP, SCOTT V (SBCSI); [EMAIL PROTECTED]
 Subject: Re: [PHP-DB] 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) [EMAIL PROTECTED]
 To: 'Andrey Hristov' [EMAIL PROTECTED]; xxx  [EMAIL PROTECTED];
 [EMAIL PROTECTED]
 Sent: Tuesday, December 17, 2002 4:37 PM
 Subject: RE: [PHP-DB] Oracle/PHP question...


  Correct.  I am working on Unix, specifically HP-UX 11.00.
 
  -Original Message-
  From: Andrey Hristov [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, December 17, 2002 8:38 AM
  To: xxx ; [EMAIL PROTECTED]
  Subject: Re: [PHP-DB] 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  [EMAIL PROTECTED]
  To: Anthony Carlos [EMAIL PROTECTED]; [EMAIL PROTECTED]
  Sent: Tuesday, December 17, 2002 4:32 PM
  Subject: Re: [PHP-DB] 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:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 1:58 PM
To: '[EMAIL PROTECTED]'
Subject: [PHP-DB] 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:  [EMAIL PROTECTED] 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




[PHP-DB] Oracle/PHP question...

2002-12-16 Thread NIPP, SCOTT V (SBCSI)
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:  [EMAIL PROTECTED]
Web:  http:\\ldsa.sbcld.sbc.com



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




RE: [PHP-DB] Oracle/PHP question...

2002-12-16 Thread Ryan Jameson (USA)
If your webserver is win32 then you need to uncomment the line in php.ini that says :

;extension=php_oci8.dll

 if it is unix based I am not sure what you need to do.

 Ryan

-Original Message-
From: NIPP, SCOTT V (SBCSI) [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 1:58 PM
To: '[EMAIL PROTECTED]'
Subject: [PHP-DB] 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:  [EMAIL PROTECTED]
Web:  http:\\ldsa.sbcld.sbc.com



-- 
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




RE: [PHP-DB] Oracle/PHP question...

2002-12-16 Thread NIPP, SCOTT V (SBCSI)
Thanks, but my web server is HP-UX.

Didn't anyone ever tell you Win-blows sucks?  :)

-Original Message-
From: Ryan Jameson (USA) [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 3:07 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-DB] Oracle/PHP question...


If your webserver is win32 then you need to uncomment the line in php.ini
that says :

;extension=php_oci8.dll

 if it is unix based I am not sure what you need to do.

 Ryan

-Original Message-
From: NIPP, SCOTT V (SBCSI) [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 1:58 PM
To: '[EMAIL PROTECTED]'
Subject: [PHP-DB] 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:  [EMAIL PROTECTED]
Web:  http:\\ldsa.sbcld.sbc.com



-- 
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




RE: [PHP-DB] Oracle/PHP question...

2002-12-16 Thread Ryan Jameson (USA)
:-) ... Windows is the best at running the C# .NET applications I have to build to 
:make everyone happy that we are industry standard ... when big brother is not 
:looking I use PHP for everything I can get away with. I'm actually very impressed 
:with how easily PHP integrates into an IIS / MSSQL environment (in CGI mode that is) 
:... it has been quite stable and believe it or not upgrades don't require a reboot!!! 
:I have even called the php parser directly from sql server dts packages  agent 
:jobs... PHP is much more powerful then anything m$ offers.

 Ryan

-Original Message-
From: NIPP, SCOTT V (SBCSI) [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 2:08 PM
To: Ryan Jameson (USA); [EMAIL PROTECTED]
Subject: RE: [PHP-DB] Oracle/PHP question...


Thanks, but my web server is HP-UX.

Didn't anyone ever tell you Win-blows sucks?  :)

-Original Message-
From: Ryan Jameson (USA) [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 3:07 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-DB] Oracle/PHP question...


If your webserver is win32 then you need to uncomment the line in php.ini
that says :

;extension=php_oci8.dll

 if it is unix based I am not sure what you need to do.

 Ryan

-Original Message-
From: NIPP, SCOTT V (SBCSI) [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 1:58 PM
To: '[EMAIL PROTECTED]'
Subject: [PHP-DB] 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:  [EMAIL PROTECTED]
Web:  http:\\ldsa.sbcld.sbc.com



-- 
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




RE: [PHP-DB] Oracle/PHP question...

2002-12-16 Thread Ryan Jameson (USA)
BTW... I'm not the one stuck trying to figure out how to recompile my current version 
of PHP to include the oci functions... haha! And guess what, with every release you 
get to do it all over again... so polish up on the shell scripting unless you want to 
reinvent the wheel every month or two. :-D

 Ryan

-Original Message-
From: Ryan Jameson (USA) 
Sent: Monday, December 16, 2002 2:15 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-DB] Oracle/PHP question...


:-) ... Windows is the best at running the C# .NET applications I have to build to 
:make everyone happy that we are industry standard ... when big brother is not 
:looking I use PHP for everything I can get away with. I'm actually very impressed 
:with how easily PHP integrates into an IIS / MSSQL environment (in CGI mode that is) 
:... it has been quite stable and believe it or not upgrades don't require a reboot!!! 
:I have even called the php parser directly from sql server dts packages  agent 
:jobs... PHP is much more powerful then anything m$ offers.

 Ryan

-Original Message-
From: NIPP, SCOTT V (SBCSI) [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 2:08 PM
To: Ryan Jameson (USA); [EMAIL PROTECTED]
Subject: RE: [PHP-DB] Oracle/PHP question...


Thanks, but my web server is HP-UX.

Didn't anyone ever tell you Win-blows sucks?  :)

-Original Message-
From: Ryan Jameson (USA) [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 3:07 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-DB] Oracle/PHP question...


If your webserver is win32 then you need to uncomment the line in php.ini
that says :

;extension=php_oci8.dll

 if it is unix based I am not sure what you need to do.

 Ryan

-Original Message-
From: NIPP, SCOTT V (SBCSI) [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 1:58 PM
To: '[EMAIL PROTECTED]'
Subject: [PHP-DB] 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:  [EMAIL PROTECTED]
Web:  http:\\ldsa.sbcld.sbc.com



-- 
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




RE: [PHP-DB] Oracle/PHP question...

2002-12-16 Thread NIPP, SCOTT V (SBCSI)
Figuring how shouldn't be too tough.  Compiling software for the
most part is a breeze.  My concern was whether I needed to recompile or not.
I am now trying that, and hopefully this will address the problem for me.
As to the recompiling with every release, that is no big deal either as the
recompile is all of 4 entries on the command line.  Putting this together in
a shell script is simplicity in itself, and requires no polishing up even
though most of my system scripting I do in Perl.
It is nice to see though that you are not trying to tell me how
Win-blows is better than Unix.  Sure Windows is nice in that virtually
everything is simple enough for a 3rd grader to do stuff on it, but I like
to think I have a little more intelligence than your average 3rd grader.  Oh
well, I don't want this to degenerate any further so we can agree to
disagree about platforms or you can admit to possibly being a closet Unix
fan.  :)

-Original Message-
From: Ryan Jameson (USA) [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 3:19 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-DB] Oracle/PHP question...


BTW... I'm not the one stuck trying to figure out how to recompile my
current version of PHP to include the oci functions... haha! And guess what,
with every release you get to do it all over again... so polish up on the
shell scripting unless you want to reinvent the wheel every month or two.
:-D

 Ryan

-Original Message-
From: Ryan Jameson (USA) 
Sent: Monday, December 16, 2002 2:15 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-DB] Oracle/PHP question...


:-) ... Windows is the best at running the C# .NET applications I have to
build to make everyone happy that we are industry standard ... when big
brother is not looking I use PHP for everything I can get away with. I'm
actually very impressed with how easily PHP integrates into an IIS / MSSQL
environment (in CGI mode that is) ... it has been quite stable and believe
it or not upgrades don't require a reboot!!! I have even called the php
parser directly from sql server dts packages  agent jobs... PHP is much
more powerful then anything m$ offers.

 Ryan

-Original Message-
From: NIPP, SCOTT V (SBCSI) [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 2:08 PM
To: Ryan Jameson (USA); [EMAIL PROTECTED]
Subject: RE: [PHP-DB] Oracle/PHP question...


Thanks, but my web server is HP-UX.

Didn't anyone ever tell you Win-blows sucks?  :)

-Original Message-
From: Ryan Jameson (USA) [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 3:07 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-DB] Oracle/PHP question...


If your webserver is win32 then you need to uncomment the line in php.ini
that says :

;extension=php_oci8.dll

 if it is unix based I am not sure what you need to do.

 Ryan

-Original Message-
From: NIPP, SCOTT V (SBCSI) [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 1:58 PM
To: '[EMAIL PROTECTED]'
Subject: [PHP-DB] 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:  [EMAIL PROTECTED]
Web:  http:\\ldsa.sbcld.sbc.com



-- 
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

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