On Thu, Oct 15, 2009 at 7:58 AM, Ralph Schindler <[email protected]> wrote: > Do you know which php you have setup for Zend Studio to use? Perhaps the > include_path is getting mangled somewhere?
It's using whatever the default php is for Zend Studio 7.0.2. Going into Zend Studio Preferences -> PHP -> PHP Executables, PHP 5.2.10 (CLI) is selected and it points to /Applications/Zend/Zend Studio 7.0.2/plugins/org.zend.php.debug.debugger.macosx_5.2.26.v20090817/resources/php5/php I did some exploring, based on what you've said and here's what I found: >From the command line... > php -i | grep php.ini Configuration File (php.ini) Path => /etc > php -i | grep include_path include_path => .: => .: > zf show phpinfo | grep php.ini Configuration File (php.ini) Path => /etc > zf show phpinfo | grep include_path include_path => /www/lib/zend/ZendFramework-1.9.4-minimal/library:.: => .: >From within Zend Studio -> Project -> Zend Tool... > zf show phpinfo Configuration File (php.ini) Path => /usr/local/zend/etc include_path => /Applications/Zend/Zend Studio - 7.0.2/plugins/org.zend.php.framework.resource_7.0.0.v20090531-1639/resources/ZendFramework-1/library:.:/usr/local/zend/share/pear => .:/usr/local/zend/share/pear I checked, there is no /usr/local/zend directory and there is no /etc/php.ini file, so general defaults are getting used. I tried creating an /etc/php.ini file and added /www/lib/zend/ZendFramework-1.9.4-minimal/library to the include_path, but the problem persists. Any ideas? -Ed
