PHP5 and Oracle support?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Radix

    PHP5 and Oracle support?

    I've been scouring for information about this for quite some time now
    and so far I'm at a loss to the proper/correct way to compile PHP 5.x
    with Oracle 9i for Sparc Solaris. Does anyone have the straight dope
    on the definitive method?

    Thanks
    Rudy

  • Hendri Kurniawan

    #2
    Re: PHP5 and Oracle support?

    Radix wrote:
    I've been scouring for information about this for quite some time now
    and so far I'm at a loss to the proper/correct way to compile PHP 5.x
    with Oracle 9i for Sparc Solaris. Does anyone have the straight dope
    on the definitive method?
    >
    Thanks
    Rudy
    >

    Try doing:
    ../configure --help | grep oracle

    I think the module is oci and/or oracle something or other.

    Also I'm sure if you google it, the information will be readily
    available to you.

    Hendri Kurniawan

    Comment

    • Radix

      #3
      Re: PHP5 and Oracle support?

      Google? What's that? A new startup or something?

      Seriously 'bro, I've gone through all the resources from php.net, to
      oracle.com, and all of the forums and websites out there including
      ADODB. They all assume you're using the old PHP4 with builtin
      support. Not so relevant anymore with PHP5 since they took out the
      builtin support.

      Ada ide yang lain, nggak?

      -RA


      On May 1, 4:43 pm, Hendri Kurniawan <ask...@email.c omwrote:
      Radix wrote:
      I've been scouring for information about this for quite some time now
      and so far I'm at a loss to the proper/correct way to compile PHP 5.x
      withOracle9i for Sparc Solaris. Does anyone have the straight dope
      on the definitive method?
      >
      Thanks
      Rudy
      >
      Try doing:
      ./configure --help | greporacle
      >
      I think the module is oci and/ororaclesomethi ng or other.
      >
      Also I'm sure if you google it, the information will be readily
      available to you.
      >
      Hendri Kurniawan

      Comment

      • Hendri Kurniawan

        #4
        Re: PHP5 and Oracle support?

        Radix wrote:
        Google? What's that? A new startup or something?
        >
        Seriously 'bro, I've gone through all the resources from php.net, to
        oracle.com, and all of the forums and websites out there including
        ADODB. They all assume you're using the old PHP4 with builtin
        support. Not so relevant anymore with PHP5 since they took out the
        builtin support.
        >
        Ada ide yang lain, nggak?
        >
        -RA
        >
        >
        On May 1, 4:43 pm, Hendri Kurniawan <ask...@email.c omwrote:
        >Radix wrote:
        >>I've been scouring for information about this for quite some time now
        >>and so far I'm at a loss to the proper/correct way to compile PHP 5.x
        >>withOracle9 i for Sparc Solaris. Does anyone have the straight dope
        >>on the definitive method?
        >>Thanks
        >>Rudy
        >Try doing:
        >./configure --help | greporacle
        >>
        >I think the module is oci and/ororaclesomethi ng or other.
        >>
        >Also I'm sure if you google it, the information will be readily
        >available to you.
        >>
        >Hendri Kurniawan
        >
        >

        Ya look, here's what I found from google:


        I don't know the condition of the server, and assuming you want a step
        by step instruction:
        1. Download oracle
        2. Install
        3. Configure php using --with-oracle=/path/to/oracle/home/dir
        4. Compile PHP
        5. install PHP

        And no, I'm not assuming you are using PHP4.

        Hendri Kurniawan

        Comment

        • Geoff Muldoon

          #5
          Re: PHP5 and Oracle support?

          Hendri Kurniawan says...
          >I've been scouring for information about this for quite some time now
          >and so far I'm at a loss to the proper/correct way to compile PHP 5.x
          >withOracle9i for Sparc Solaris. Does anyone have the straight dope
          3. Configure php using --with-oracle=/path/to/oracle/home/dir
          Except that with Oracle 9i you are much better off using the OCI8 lib
          rather than the older oracle lib.

          php.ini
          extension = php_oci8.dll

          compile
          -with-oci8=/path/to/oracle/home/dir

          Geoff M

          Comment

          Working...