简体   繁体   中英

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:\\xampp\\php\\php.exe in php 5 Interpreter And give Global Include Path : c:\\xamp\\php\\PEAR and c:\\zend\\library\\zend\\

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

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:\\Zend\\ZendServer\\share\\ZendFramework\\bin\\zf.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:\\xamp\\php\\PEAR and c:\\zend\\library\\zend\\ 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:\\Zend\\ZendServer\\share\\ZendFramework\\bin 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM