Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D digitec-wiki
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Digitec
  • digitec-wiki
  • Wiki
  • local amp setup

Last edited by Rene Cabral Jan 30, 2014
Page history
This is an old version of this page. You can view the most recent version or browse the history.

local amp setup

Local AMP Setup

This document is intended to be a minimum requirement recommendation for local development software.

It is not intended to replace more robust developing environments such as Vagrant or Dev server.

Apache

  1. Apache version 2.2.x or greater.

MySQL

  1. MySQL version 5.6.x or greater.

PHP

  1. PHP version 5.5.x or greater.
  2. Install PHP extensions: mcrypt, xdebug, gettext, gd, intl, mbstring

Instructions for Mac OS X

All of the installations on the Mac rely on Homebrew.

Any installations with brew should never use sudo.

1. install homebrew
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

You may be asked to install the Xcode developer tools at some point in the installation, make sure you install them and try to run Xcode in the GUI if possible afterward.

2. tap dupes (essentially register a repo)
brew tap homebrew/dupes
brew tap josegonzalez/homebrew-php
3.  install PHP
brew install php55
4. install PHP extensions and dependencies
brew install autoconf icu4c libtool ossp-uuid php55-phalcon postgresql sqlite
brew install wget freetype jpeg mcrypt pcre php55-xdebug readline subversion zlib gettext libpng mysql php55-intl
5. Update bash environment paths.
  1. Open (create if not there) the .profile file in your home directory.
  2. Add these entries to the file. Replace existing entries, if any.
  3. Replace myusername with your exact user name as seen on the command line in Terminal.
export PATH=$(brew --prefix josegonzalez/php/php55)/bin:/usr/local/bin:/Users/myusername/phalcon-tools:$PATH
export PTOOLSPATH=/Users/myusername/phalcon-tools

php.ini comment out svn.so extension include

php5.conf in apache2/other

add line

LoadModule php5_module $HOMEBREW_PREFIX/Cellar/php55/5.5.8/libexec/apache2/libphp5.so

If you need to unsinstall Homebrew
uninstall homebrew
cd `brew --prefix`
rm -rf Cellar
brew prune
rm -rf Library .git .gitignore bin/brew README.md share/man/man1/brew
rm -rf ~/Library/Caches/Homebrew
Clone repository
  • alpha beta testing
  • browser testing
  • camtasia licenses
  • code delivery processes
  • coding practices
  • css and sass coding standards
  • database schema standards
  • dependency management
  • development environments
  • digitec agile process
  • digitec gitlab styles
  • digitec software promises
  • digitec spec process
  • gitlab administration
  • gitlab issues tags
View All Pages