|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[1999-05-27 19:35 UTC] fredrik dot rovik at sas dot no
I have some problems connecting to oracle using
the php 3.0.8 sourcetree (3.0.7 works fine).
I get an error stating I have not given a password or given a nullpassword, which ofcourse
is not the case.
As for compile options this is a DSO running under apache 1.3.6. compiled with the
following options --with-mysql=/usr/local --with-oracle --apxs=whatever.
Oracle client software is freshly installed from oracles website. Version 8.0.5.
<?
putenv("ORACLE_HOME=/usr/oracle/app/oracle/product/8.0.5");
putenv("ORACLE_SID=POBP");
putenv("TNS_ADMIN=/usr/oracle/tns");
putenv("PATH=/usr/oracle/app/oracle/product/8.0.5/bin:/usr/local/bin:/bin");
putenv("TNS_ADMIN=/usr/oracle/tns");
putenv("PATH=/usr/oracle/app/oracle/product/8.0.5/bin:/usr/local/bin:/bin");
$conn_id=ora_logon("jalla@whatever","whatever secret");
?>
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 21:00:01 2025 UTC |
please do: $con = ora_logon("user/pw@service","");