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

    php5-http  most recent diff


    version

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


      # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
      The php5-http Portfile 58662 2009-10-02 15:10:40Z nox macports.org $

      PortSystem 1.0
      PortGroup php5extension 1.0

      php5extension.setup pecl_http 1.6.5 pecl

      Name: php5-http
      Category: php www
      Platform: darwin
      Maintainers: nox openmaintainer
      Description: Extended HTTP Support

      Long Description: This HTTP extension aims to provide a convenient and powerful set of functionality for one of PHPs major applications. It eases handling of HTTP urls, dates, redirects, headers and messages, provides means for negotiation of clients preferred language and charset, as well as a convenient way to send any arbitrary data with caching and resuming capabilities. It provides powerful request functionality, if built with CURL support. Parallel requests are available for PHP 5 and greater.

      Checksums: md5 e11c52bbe5cfed900d80a0ed93df5574 sha1 7e8ef6cd0dd3b4757fc87122edf680c339798288 rmd160 4e7d87cdf688bebe5c8d0e89f430b39e99ac0ecd

      depends_lib-append port:curl port:zlib

      configure.args --with-http-curl-requests=${prefix} --with-http-zlib-compression=${prefix} --without-http-curl-libevent

      use_parallel_build yes

      set php5extension.extension http

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.