Oracle-PHP problem so urgent

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mrs Badawy
    New Member
    • Jul 2007
    • 2

    Oracle-PHP problem so urgent

    I want to make a connection to Oracle 10 g using php, i am using

    Oracle version 10.2.0.1.0
    PHP version 5.2.0
    OS: Windows XP.

    i always get thie error:

    Warning: oci_connect() [function.oci-connect]: OCIEnvNlsCreate () failed. There is something wrong with your system - please check that PATH includes the directory with Oracle Instant Client libraries in (Directory-Path)

    i am really so confused,can any one help me?

    Thanks in Advance
  • code green
    Recognized Expert Top Contributor
    • Mar 2007
    • 1726

    #2
    Don't know much about the Oracle functions but it looks like PHP cannot find them.
    The solution depends upon how PHP was installed, and the package it came in.
    Try the help docs for the php installation used

    Comment

    • evicailieva
      New Member
      • Aug 2007
      • 6

      #3
      Hey Mrs Badawy

      I don't know if you still have this problem, but I'm working with php and Oracle, and i have a pdf tutorial about connecting php with Oracle so if you still have the problem I think I can find the link from where I downloaded the tutorial.

      Comment

      • Mrs Badawy
        New Member
        • Jul 2007
        • 2

        #4
        hi
        thanks for ur reply
        i am still in need of the pdf u have can u please send it please as soon as possible.
        thanks again

        Comment

        • nitinpatel1117
          New Member
          • Jun 2007
          • 111

          #5
          Hi, you're not to far from getting php and oracle to connect.

          You need to install the oracle client libraries, on your pc, will usually be copy and pasting of the files into a folder on your C:\ drive. so for example lets say C:\ folderA

          then you need to change your environment variable PATH,
          to do this, edit the environment variable PATH and add the file path C:\ folderA
          to the front of all the other bits in the path. also don't forget to add ';' at the end

          Comment

          • myself2009
            New Member
            • Sep 2008
            • 1

            #6
            Originally posted by Mrs Badawy
            hi
            thanks for ur reply
            i am still in need of the pdf u have can u please send it please as soon as possible.
            thanks again
            I have all books for oracle 10.g I am studying a course. I was searching , becaus , I want to connect to oracle by using P.H.P too.
            If you want replay to me or any one, I can help you to get it for free, but please do not sell it to other , make free please.
            it is 8 books. pdf

            Comment

            Working...