oci8 not being shown in phpinfo

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kovidranjan
    New Member
    • Oct 2006
    • 4

    oci8 not being shown in phpinfo

    Dear Sir,
    I have installed oracle 11.1.0.6 on windows 2003 sp2 and sqlplus etc everything is running fine.I have iis6 with cgi
    I have installed php 5.3.1 non thread safe and has done everything mentioned in the underground manual ,technote etc
    like copying php_oc8_11g in php /ext directory
    setting php.ini path to exenstion_dir
    extension=php_o ci8_11g etc also in PATH variables
    but whenever I am trying to run oci_connect it gives fatal error
    also oci8 does not show in phpinfo
    I have done the same way,
    extension_dir=" c:\php\ext"
    extension=php_o ci8_11g.dll
    still nothing is working
    This is done in php.ini file,
    only one php.ini is there
    I have used client as 11.1.0.7 for windows
    I have also added tnsnames.ora and added tns_admin in the path
    although database resides in the same machine
    please help
  • zorgi
    Recognized Expert Contributor
    • Mar 2008
    • 431

    #2
    What Fatal Error do you get?

    I did this once and I can remember few things. This are two lines needed uncommenting in php.ini:

    ;php_oci8.dll
    ;php_pdo_oci.dl l

    Also there can be more than one php.ini. You have to edit the one that shows when you run phpinfo();

    Comment

    • kovidranjan
      New Member
      • Oct 2006
      • 4

      #3
      I have uncommented php_oci8 one, still no luck

      Comment

      • zorgi
        Recognized Expert Contributor
        • Mar 2008
        • 431

        #4
        What is the error?
        What about ;php_pdo_oci.dl l, did you uncomment it?
        Did you check what php.ini you are editing?

        Comment

        • kovidranjan
          New Member
          • Oct 2006
          • 4

          #5
          I have only one php.ini, I have uncommented the files which you have mentioned, still no luck

          Comment

          • kovidranjan
            New Member
            • Oct 2006
            • 4

            #6
            still the problem is unresolved

            Comment

            Working...