Note that there are some explanatory texts on larger screens.

plurals
  1. POMAMP: Host Setup Questions
    primarykey
    data
    text
    <p>I'm just setting up my test environment, a few questions.</p> <ul> <li>I'm using MAMP, should my document root be pointed at the htdocs folder within MAMP?</li> <li>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?</li> <li><p>I'm getting the following error, is it simply because I don't have any controllers setup?</p> <p>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</p></li> </ul> <p>Any smart noggins willing to lend a hand?</p> <p>EDIT:</p> <p>This is my httpd.conf which is in my var/www/proj folder</p> <pre><code>&lt;VirtualHost *:*&gt; ServerName localhost DocumentRoot /Users/kieransenior/Development/reformsoft_dietron/trunk/var/www/dietron/htdocs &lt;Directory /Users/kieransenior/Development/reformsoft_dietron/trunk/var/www/dietron/htdocs&gt; AllowOverride All Options All &lt;/Directory&gt; 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 &lt;/VirtualHost&gt; </code></pre> <p>That doesn't work though, so in my php.ini file I have the following:</p> <pre><code>include_path = ".:/Applications/MAMP/bin/php5/lib/php:/Users/kieransenior/Development/reformsoft_dietron/trunk/var/www/dietron/include" </code></pre> <p>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?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload