Php5-oracle - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    php5-oracle  most recent diff


    version

      View the most recent changes for the php5-oracle port at: php5-oracle.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for php5-oracle.
      The raw portfile for php5-oracle is located here:
      http://php5-oracle.darwinports.com/dports/php/php5-oracle/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/php5-oracle


      The php5-oracle Portfile 56353 2009-08-26 13:57:21Z ryandesign macports.org $

      PortSystem 1.0
      PortGroup php5extension 1.0

      php5extension.setup oracle 5.3.0 bundled
      php5extension.use_phpize no
      Category:-append databases
      Platform: darwin
      Maintainers: ryandesign

      Description: a PHP interface to Oracle, including the oci8 and pdo_oci extensions

      Long Description: ${description}

      Checksums: md5 846760cd655c98dfd86d6d97c3d964b0 sha1 934700941d216c453376e3bf24347041cf12c6dc rmd160 9a71b74052b0ca515f2ddf95c051b47a73d33f44

      depends_build-append port:autoconf213

      depends_lib-append port:oracle-instantclient

      Patch Files:-append patch-ext-pdo_oci-config.m4.diff

      use_autoconf yes
      autoconf.cmd ${prefix}/bin/autoconf213

      configure.args-append --enable-pdo --with-oci8=shared,instantclient,${prefix}/lib/oracle --with-pdo-oci=shared,instantclient,${prefix}/lib/oracle,10.1

      use_parallel_build yes

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/php5-oracle
      % sudo port install php5-oracle
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching php5-oracle
      ---> Verifying checksum for php5-oracle
      ---> Extracting php5-oracle
      ---> Configuring php5-oracle
      ---> Building php5-oracle with target all
      ---> Staging php5-oracle into destroot
      ---> Installing php5-oracle
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using php5-oracle with these commands:
      %  man php5-oracle
      % apropos php5-oracle
      % which php5-oracle
      % locate php5-oracle

     Where to find more information:

    Darwin Ports



    Lightbox this page.