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

    php5-sqlite  most recent diff


    version

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


      The php5-sqlite Portfile 56355 2009-08-26 13:59:28Z ryandesign macports.org $

      PortSystem 1.0
      PortGroup php5extension 1.0

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

      Description: a PHP interface to SQLite, including the sqlite and pdo_sqlite extensions

      Long Description: ${description}

      Checksums: md5 846760cd655c98dfd86d6d97c3d964b0 sha1 934700941d216c453376e3bf24347041cf12c6dc rmd160 9a71b74052b0ca515f2ddf95c051b47a73d33f44

      # Note that the sqlite extension uses the built-in sqlite2 libraries while the
      # sqlite3 and pdo_sqlite extensions use the libraries from the sqlite3 port.

      depends_lib-append port:sqlite3

      configure.args-append --enable-pdo --with-sqlite=shared --with-sqlite3=shared,${prefix} --with-pdo-sqlite=shared,${prefix} --enable-sqlite-utf8

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.