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

    php5-mssql  most recent diff


    version

      View the most recent changes for the php5-mssql port at: php5-mssql.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for php5-mssql.
      The raw portfile for php5-mssql is located here:
      http://php5-mssql.darwinports.com/dports/php/php5-mssql/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-mssql


      The php5-mssql Portfile 56354 2009-08-26 13:57:49Z ryandesign macports.org $

      PortSystem 1.0
      PortGroup php5extension 1.0

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

      Description: a PHP interface to MSSQL using FreeTDS, including the mssql and pdo_dblib extensions

      Long Description: ${description}

      Checksums: md5 846760cd655c98dfd86d6d97c3d964b0 sha1 934700941d216c453376e3bf24347041cf12c6dc rmd160 9a71b74052b0ca515f2ddf95c051b47a73d33f44

      depends_lib-append port:freetds

      configure.args-append --enable-pdo --with-mssql=shared,${prefix} --with-pdo-dblib=shared,${prefix}

      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-mssql
      % sudo port install php5-mssql
      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-mssql
      ---> Verifying checksum for php5-mssql
      ---> Extracting php5-mssql
      ---> Configuring php5-mssql
      ---> Building php5-mssql with target all
      ---> Staging php5-mssql into destroot
      ---> Installing php5-mssql
    - 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-mssql with these commands:
      %  man php5-mssql
      % apropos php5-mssql
      % which php5-mssql
      % locate php5-mssql

     Where to find more information:

    Darwin Ports



    Lightbox this page.