zend framework not setup in netbeans

I am haveing problem to setup zend framework into netbeans. I have assign all setting in netbeans:

Tool>Options>PHP>Zend> I have put the path of zend directory where I have extract the zend framework directory.

and >Tool>Options>PHP>General> I have put the C:xamppphpphp.exe in php 5 Interpreter And give Global Include Path : c:xampphpPEAR and c:zendlibraryzend

Also I have set path in environment variable for php : C:xamppphpphp.exe and in php.ini : include_path = ";C:xamppphppear;C:ZendFramework-1.11.12library;"

My configration: Window 7 xamp1.1.2 ZendFramework-1.11.12 Netbeans 7.1

Please can any one help to me?


In Netbeans, Tools > Options > PHP > Zend > is the path to zf.bat, like: C:ZendZendServershareZendFrameworkbinzf.bat .

Don't forget to select the register provider button after you change this value. This is the setting that controls how Netbeans interacts with Zend_Tool .

Netbeans Global Include Path : c:xampphpPEAR and c:zendlibraryzend the global include path in Netbeans is only used for Netbeans modules like for autocomplete.

You windows environment PATH variable needs to point to the Zend Framework /bin like: C:ZendZendServershareZendFrameworkbin as Windows also needs to know about zf.bat but really doesn't need the library location.

php.ini does need the location of your ZF /library folder. Just make sure this is the php.ini used by Apache at a minimum. Sometimes you'll have 2 php.ini files: one used by Apache and one used by php cli (command line interpreter). Every server setup seems to be different as regards to where the php.ini files are so plz check the documentation and phpinfo() can probably help.

链接地址: http://www.djcxy.com/p/65320.html

上一篇: Zend php代码完成netbeans 7.2

下一篇: 未在netbeans中设置zend框架