MacOS, MAMP and Manual Install

12 views
Skip to first unread message

sohdubom

unread,
Jun 4, 2009, 12:02:20 PM6/4/09
to PHPSpec - Behavior Driven Design (BDD) for PHP
Hi. I'm trying to install PHPSpec in my Mac with MAMP installed.

According to the installing instructions I need to do 3 things:

1. Add the "src" directory to your php.ini include_path

I did it in my MAMP's php.ini file as:

include_path = ".:/Applications/MAMP/bin/php5/lib/php:/Users/ka/
development/PHPSpec-0.2.1/src/"

===

2. Copy the phpspec script for your system from the "scripts"
directory to a location on your system PATH.

Where is this location of my system PATH?

===

3. This script must be edited to provide:
3.1 the location of the PHP binary executable
3.2 the path to the PHPSpec_Console_Command classfile.

The location of my PHP binary executable is: /Applications/MAMP/bin/
php5/bin/php
The path to PHPSpec_Console_Command classfile is: /Users/ka/
development/PHPSpec-0.2.1/src/PHPSpec/Console/Command.php

What should be typed in the phpspec script file?

===

Thanks in advance, sohdubom
Reply all
Reply to author
Forward
0 new messages