Find the answer to your Linux question:
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 ...
  1. #1
    Just 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

  2. #2
    Linux Newbie RustamB's Avatar
    Join Date
    Aug 2005
    Location
    Baku, Azerbaijan
    Posts
    214
    Your php needs to be configured with oci8 support. You should run the following command on php sources
    Code:
    ./configure --with-apxs2=/usr/local/apache/bin/apxs --with-oci8=$ORACLE_HOME
    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 httpd
    Code:
    apachectl stop
    apachectl start

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...