When trying to run zf commands inside Netbeans
Then I tried to run zf commands again on windows command line:
it didn't work until I did the following:
- Using cmd I created the .zf.ini file using the script "zf --setup fonfig-file"
- .zf.ini is in your user directory like in windows: "C:\Users\abdelhady_mohammed"
- Then I opened netbeans and from tools>Options>php>Zend, then choosed "Register Provider"
- Right click the project Zend>run command and choose "Refresh Commands"
And here we go, every thing is Ok inside Netbeans
Solution:And here comes the bug, zf commands is no longer runnable on windows command line and here is the full bug report on Netbeans site:
get the "NetBeansCommandsProvider.php" located in "D:\Boston_Dev_Env\NetBeans\php\zend"and copy it to the Zend Library folder "D:\Boston_Dev_Env\server\ZendFramework-1.11.7\library"
and every thing will be fine then
Additional reference:
http://www.kilinjal.com/blog/how-configure-zend-tool-netbeans?page=show
No comments:
Post a Comment