Alias naar Zend Framework Command Line Tool aanmaken
alias zf=/Applications/MAMP/ZendFramework/bin/zf.sh

Nieuw Zend Framework project aanmaken
cd /Applications/MAMP/htdocs/localhost/
zf create project quickstart

Nieuwe Virtual Host aanmaken via MAMP PRO

MAMP PRO General

MAMP PRO Advanced


Nieuwe Virtual Host aanmaken (handmatig)

Ga naar File -> Edit Template -> Apache httpd.conf :

MAMP PRO : File -> Edit Template -> Apache httpd.conf


	ServerName quickstart.local
	DocumentRoot "/Applications/MAMP/htdocs/localhost/quickstart/public"


Local name resolution
sudo nano /etc/hosts
127.0.0.1 quickstart.local

Path naar Zend Framework library instellen

Ga naar File -> Edit Template -> PHP5 php.ini :

MAMP PRO : File -> Edit Template -> PHP5 php.ini

;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;

; UNIX: "/path1:/path2"
include_path = ".:/Applications/MAMP/bin/php5/lib/php:/Applications/MAMP/ZendFramework/library"

Alternatief

ln -s /Applications/MAMP/ZendFramework/library/Zend /Applications/MAMP/htdocs/localhost/quickstart/library

Resultaat

Welcome to the Zend Framework!

Zoeken