Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2002122

[PHP-DB] Oracle/PHP question... From: NIPP, SCOTT V (SBCSI) (sn4265 <email protected>)
Date: 12/16/02

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