I'm just setting up my test environment, a few questions.

* I'm using MAMP, should my document root be pointed at the htdocs folder within MAMP?
* MAMP currently uses the php.ini file that's in .:Applications/MAMP/conf/php5/php.ini, how do I get it to use a php.ini that's in my /var/www/projectname/ folder?
* I'm getting the following error, is it simply because I don't have any controllers setup?

Fatal error: Uncaught exception 'Zend\_Controller\_Dispatcher\_Exception' with message 'Invalid controller specified (error)' in /Users/kieransenior/Development/reformsoft\_dietron/trunk/var/www/dietron/include/Zend/Controller/Dispatcher/Standard.php:241 Stack trace: #0 /Users/kieransenior/Development/reformsoft\_dietron/trunk/var/www/dietron/include/Zend/Controller/Front.php(934): Zend\_Controller\_Dispatcher\_Standard->dispatch(Object(Zend\_Controller\_Request\_Http), Object(Zend\_Controller\_Response\_Http)) #1 /Users/kieransenior/Development/reformsoft\_dietron/trunk/var/www/dietron/htdocs/index.php(7): Zend\_Controller\_Front->dispatch() #2 {main} thrown in /Users/kieransenior/Development/reformsoft\_dietron/trunk/var/www/dietron/include/Zend/Controller/Dispatcher/Standard.php on line 241

Any smart noggins willing to lend a hand?

EDIT:

This is my httpd.conf which is in my var/www/proj folder

```
<VirtualHost *:*>
    ServerName localhost
    DocumentRoot /Users/kieransenior/Development/reformsoft_dietron/trunk/var/www/dietron/htdocs

    <Directory /Users/kieransenior/Development/reformsoft_dietron/trunk/var/www/dietron/htdocs>
        AllowOverride All
        Options All
    </Directory>

    php_value include_path .:/Users/kieransenior/Development/reformsoft_dietron/trunk/var/www/dietron/include:/usr/local/lib/pear
    php_value magic_quotes_gpc off
    php_value register_globals off
</VirtualHost>

```

That doesn't work though, so in my php.ini file I have the following:

```
include_path = ".:/Applications/MAMP/bin/php5/lib/php:/Users/kieransenior/Development/reformsoft_dietron/trunk/var/www/dietron/include"

```

But I don't want to do it that way, I want to be able to use httpd.conf. Are these just two methods of achieving the same thing?