Results 1 to 2 of 2
CAN Anyone please help me by explaining each step properly, I am a beginner...
i have redhat 8
i wanted to connect to oracle server version i donot know...
i ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-10-2005 #1Just Joined!
- Join Date
- Aug 2005
- Posts
- 2
installing oracle client for linux to run OCI, ora functions
CAN Anyone please help me by explaining each step properly, I am a beginner...
i have redhat 8
i wanted to connect to oracle server version i donot know...
i have USERNAME, PASSWORD and SID
i tried
1. installing intant client from oracle.com
using copy to folder and
changing the ORACLE_HOME,ORACLE_BASE,TNS_ADMIN,LD_LIBRARY_PATH path
using export command to a local dump where i unzipped all the files
and 2) by adding to .bashrc .
2.using rpm and installing
BUT, I dont know exactly what all should be done
to run 1. OCIPlogon.... commands
2.ora_logon... commands
3. ODBC commands
when i run with php it shows "ILLEGAL FUNCTION ocilogon()"
Thanking you
shankar
- 09-11-2005 #2
Your php needs to be configured with oci8 support. You should run the following command on php sources
and maybe other prefixes, for example --with-zlib, read ./configure --help to see the list of options available. Then compile and install php. I hope you've already added php module in httpd.conf and added php mime type also. Then you have to restart httpdCode:./configure --with-apxs2=/usr/local/apache/bin/apxs --with-oci8=$ORACLE_HOME
Code:apachectl stop apachectl start


Reply With Quote
