$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

How to Compile and Install Apache 2.4.3 From Source on Mac Snow-Leopard

August 18, 2012 | By Duchateaux.

This post Show How to Get Installed the Apache 2.4.3 Server from Source on Mac OSX Snow-Leopard.

The Content give Focus Only to the Essentials Instructions and Commands to make it Easier to Follow.

Apache on Apple
  1. Download Apache:

    Httpd 2.4.3 tar.gz
  2. Open a Terminal Window
    (Press “Enter” to Execute Commands)

  3. Extract Apache

    mv /path/To/httpd-2.4.3.tar.gz /tmp
    cd /tmp
    tar xvzf httpd-2.4.3.tar.gz

  4. Check if MacPorts are Installed:

    which port

    Installing the MacPorts:

    MacPorts Install Guide
  5. Install wget and pcre Library

    sudo port install wget pcre

  6. Inject the Required Packages into Apache

    wget http://apache.osuosl.org/apr/apr-1.4.6.tar.gz
    wget http://apache.osuosl.org/apr/apr-util-1.4.1.tar.gz
    tar zxf apr-1.4.6.tar.gz
    tar zxf apr-util-1.4.1.tar.gz
    mv apr-1.4.6 httpd-2.4.3/srclib/apr
    mv apr-util-1.4.1 httpd-2.4.3/srclib/apr-util

  7. Compile and Install Apache

    cd httpd-2.4.3
    /configure --prefix=/opt/apache24 
    --enable-so
    --enable-rewrite
    --enable-remoteip
    --enable-unique-id
    --enable-suexec
    --with-mpm=event
    --with-included-apr
    make
    sudo make install

Thanks to: loi-bien-dich-apache-2-4-tren-centos-6