oci.dll problem!

Discussion in 'PHP' started by luckylouie84, Dec 16, 2011.

  1. #1
    Hi;

    when I run a php command in command line it alerts that "the program can't start because OCI.dll is missing from your computer".
    and then it can't find 'libcs.dll' too.
    I have no problem in running php in localhost.(i have IIS)

    I appreciate if you help me.
     
    Solved! View solution.
    luckylouie84, Dec 16, 2011 IP
  2. #2
    oci.dll is an Oracle library. You probably have it enabled in php.ini. Comment the line.

    libcs.dll is for Sybase. Same problem, same solution.
     
    Rukbat, Dec 16, 2011 IP
  3. luckylouie84

    luckylouie84 Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thank you so much. it worked. I commented out the lines about oci.dll and Sybase.
    I installed php with all features. Do you think it could cause the problem? and If I would install it with default settings I had no problem.
     
    luckylouie84, Dec 16, 2011 IP
  4. luckyguy354

    luckyguy354 Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I'm not sure about 'all feaatures'. I worried some drivers clash
     
    luckyguy354, Dec 16, 2011 IP
  5. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #5
    If you install it with a feature you have to have the dll file for that feature. If you uncomment the line but you don't have the dll, you get the errors you got.

    The dll files (they're not drivers, they're libraries) won't clash - each one stands alone. But you can't tell PHP to use a dll file you don't have. (You can download both of those, though. Use Google to find sites you can download them from.) If you're not using Oracle or Sybase, though, it makes no sense to include those dlls.
     
    Rukbat, Dec 16, 2011 IP