Forum Moderators: coopster
fintan.
export LD_ASSUME_KERNEL=2.4.1
echo $LD_ASSUME_KERNEL
echo
export HOME=/home/oraclient/OraHome
echo $HOME
echo
export ORACLE_HOME=$HOME
echo $ORACLE_HOME
echo
export ORACLE_SID=opwapps
echo $ORACLE_SID
echo
export LD_PRELOAD=$ORACLE_HOME/lib/libclntsh.so
echo $LD_PRELOAD
echo
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
echo $LD_LIBRARY_PATH
echo
#export NSL_LANG=en_IE.UTF-8
#echo $NSL_LANG
#echo
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
echo $ORA_NLS33
echo
I'm not sure if all of them are right. Like the $NSL_LANG. Not sure what to put there. For the compile I'm using
./configure --with-oracle=$ORACLE_HOME --with-oci8=$ORACLE_HOME --enable-so --with-apxs2=/usr/local/apache/bin/apxs --enable-sigchild --without-mysql
If memory serves me they don't have the linux client seperate. You have to download the entire Oracle Server package but when you run it you can just install the client.
daisho
I keep on getting
checking Oracle version... configure: error: Oracle-OCI8 needed libraries not found.
Am I missing something, if all I'd need is the client it should just pick up the libraries.
I'm using
$conn = ora_logon("pswd@testdb", "usrname")
and I get
Warning: Oracle: Connection Failed: Error while trying to retrieve text for error ORA-01019 in /home/ftpuser/web/conn.string.php on line 14
also using
$db_conn = ocilogon( $usr, $pswd, $db );
I get
Warning: ocilogon(): _oci_open_server: Error while trying to retrieve text for error ORA-12154 in /home/ftpuser/web/conn.string.php on line 16
I can connect using the commmand "sqlplus usrname/pswd@testdb"
but I can't with only "sqlplus". I've been messing around with it with no joy. Any ideas?
Don't use the ora_ functions and I'd suggest to take them out of PHP unless you need to use OCI7 the old OCI. Use the OCI functions which are the current OCI implementations.
daisho.