RE: Oracle/PHP question...

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

 



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: php-db@lists.php.net
Subject: RE:  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:sn4265@sbc.com]
Sent: Monday, December 16, 2002 2:08 PM
To: Ryan Jameson (USA); php-db@lists.php.net
Subject: RE:  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:RJameson@usa.ibs.org]
Sent: Monday, December 16, 2002 3:07 PM
To: php-db@lists.php.net
Subject: RE:  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: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


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