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

    php5-xdebug  most recent diff


    version

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


      # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
      The php5-xdebug Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0
      PortGroup php5extension 1.0

      php5extension.setup xdebug 2.0.5
      php5extension.type zend
      Category:-append net devel
      Platform: darwin freebsd openbsd
      Maintainers: gmail.com:emory.smith openmaintainer
      Homepage: http://www.xdebug.org/index.php
      Master Sites: http://www.xdebug.org/files/

      Description: php5 extension for php debugging

      Long Description: Xdebug is a php extension that helps you debug your scripts. It provides valuable debug information, including error stack traces and memory allocation summaries. It can generate profiling information about your php scripts, to be used for script execution analysis and optimization. It also supports debugging interactively using the dbg debug client.

      Checksums: md5 2d87dab7b6c499a80f0961af602d030c sha1 77e6a8fd56641d8b37be68ea3c4a5c52b7511114 rmd160 f07cc3cdc9f1378fb6154c0b972baa6995cd7043

      extract.suffix .tgz

      configure.args --enable-xdebug --with-php-config=${prefix}/bin/php-config

      post-install {
      set xdebug_docs "http://www.xdebug.org/docs/"

      ui_msg "
      ***************************************************************************
      * You can get a list of the available configuration settings for xdebug
      * with the following command:
      *
      * % php --ri xdebug
      *
      * For more information and details about configuration settings, see
      * ${xdebug_docs}
      ***************************************************************************"
      }

      livecheck.type regex
      livecheck.regex {Xdebug (\d+(\.\d+)*)}

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.