Zend tool not working after Netbeans 6.9 setup

Netbeans 6.9 modifies the  zend framework tool and adds an additional class in order to use it directly from the IDE.

The problem is that Netbeans changes the common INI file of the tool (.zf.ini placed inside the user folder). Without specifying additional parameters, the tool does not work anymore from the external command line.

My quick solution was temporarily moving the INI file, however it’s possible to specify additional parameters to use another config file.

Details:
the command

zf create project ...

returned the error

prompt>zf create project
Warning: include_once(NetBeansCommandsProvider.php): failed to open stream: 
No such file or directory in C:\wamp\www\ZendFramework-1.10.6\library\Zend\Loader.php on line 146
PHP Warning:  include_once(): Failed opening 'NetBeansCommandsProvider.php' for inclusion )
include_path='C:\wamp\www\ZendFramework.10.6\library;.;C:\wamp\bin\php\php5.3.0\PEAR\pear')
 in :\wamp\www\ZendFramework-1.10.6\library\Zend\Loader.php on line 146
You can leave a response, or trackback from your own site.

One Response to “Zend tool not working after Netbeans 6.9 setup”

  1. ALKUBO says:

    I just changed ‘includepath’ to ‘include_path’ (put ”_” between include and path) on line: php.include_path = “C:\Zend\library;C:\Program Files\NetBeans 6.9\php\zend;.;C:\php5\pear” in .zf.ini file.
    and all works fine again.

Leave a Reply