I am working on MacOSX Lion, and I am trying to install Zend Framework. I did this in the past and it was easy, now it doesn’t work. After registration of ZF with Netbeans, which gives an error, the zf show version command generates this error:
Warning: include_once(NetBeansCommandsProvider.php): failed to open stream: No such file or directory in /Applications/MAMP/htdocs/ZF11/library/Zend/Loader.php on line 146
Warning: include_once(): Failed opening ‘NetBeansCommandsProvider.php’ for inclusion (include_path=’/Applications/MAMP/htdocs/ZF11/library:/Users/payam/php_library/ZendFramework-1.11.8/library:/Applications/NetBeans/NetBeans 7.0.app/Contents/Resources/NetBeans/php/zend:.:/usr/lib/php’) in /Applications/MAMP/htdocs/ZF11/library/Zend/Loader.php on line 146
Some people say I have to fix .zf.ini file, but such a file is not created on MacOSX. How can this be fixed?
check out this Getting codeception & phpunit working on MAMP with OS X Lion
it seems that MAMP’s php may compete with the OS X previously installed PHP.