Having trouble setting up my Zend Framework locally with my Mac (I use MAMP). It simply looks like the php.ini is not adding the right path to the library of the Framework such that it fails once it actually hits any "require_once" in any of the Zend Framework files. Spent a couple days on it, do you know the answer to this vexing issue?
I have edited the php.ini file that I am using for MAMP to be:
And yet I get a CLI error:
And the Zend Installation Checker throws:
I have edited the php.ini file that I am using for MAMP to be:
Code:
include_path = ".:/Applications/MAMP/bin/php5.3/lib/php:/Desktop/zendtest/zend/library"
And yet I get a CLI error:
PHP:
Warning: require_once(Zend/Loader.php): failed to open stream: No such file or directory in /Users/John/Desktop/zendtest/zend/demos/Zend/Gdata/Docs.php on line 50
Fatal error: require_once(): Failed opening required 'Zend/Loader.php' (include_path='.:/usr/lib/php') in /Users/John/Desktop/zendtest/zend/demos/Zend/Gdata/Docs.php on line 50
And the Zend Installation Checker throws:
Code:
Exception thrown trying to access Zend/Loader.php using 'use_include_path' = true. Make sure you include Zend Framework in your include_path which currently contains: .:/Applications/MAMP/bin/php5.3/lib/php:/Desktop/zendtest/zend/library